Overriding / Configuring Drupal Modules

I would like to override the custom template in my Drupal 7 installation. The question is, should I change the template file in the main module or copy the module to my theme folder and edit it there? In the case of the second option, how can I do this?

+3
source share
1 answer

You must create a subtopic to customize the look. Otherwise, every time you update the kernel, you will have to reuse your changes. You can tweak the default Drupal 7 theme (Bartik) by following these steps .

Once you do this, copy the user-profile.tpl.php file to the subtopic directory (/ sites / all / themes / mytheme).

Finally, make the changes you want to make to user-profile.tpl.php

+5
source

All Articles