DSblizzard
DSblizzard

Reputation: 4149

How to change page code in Drupal?

I need to change page site_name.com/user/sites (Add button, for example). Where can I find its code? I tried to search in site_name.com/admin/modules but there are too many of them.

EDIT: Sorry, the question is closed. After day of struggle I gave up. Drupal is not for me.

Upvotes: 0

Views: 1167

Answers (2)

JurgenR
JurgenR

Reputation: 386

/user templates are found in the user module. You can find 4 user templates there.
To know which one to override you can use the Devel Themer module.
It provides you a checkbox at the bottom of the page and when enabled it shows the candidate preprocess functions and template files for particular regions.
(As described on the module page, only enable the module is needed because it can mess up the lay-out of some pages.)

Upvotes: 2

Aditya M P
Aditya M P

Reputation: 5337

You can consider creating a template file for that page. Try using page--admin--modules.tpl.php.

Check this out: http://drupal.org/node/1089656

Upvotes: 2

Related Questions