Does Foliage theme not see template.php?

saltcod - August 22, 2008 - 13:29

Hi,

Since Foliage doesn't come with a template.php file, I created one. problem is, anything I put in template.php doesn't seem to affect anything on the site.

strange?

What do you mean by

Magnity - August 22, 2008 - 13:41

What do you mean by template.php?

Foliage uses page.tpl.php etc to control the page layout.

Read up on it here http://drupal.org/theme-guide.

Magnity

http://webdesign.magnity.co.uk
Drupal 5 themes | Drupal 6 themes

Hi - thanks. i thought that

saltcod - August 22, 2008 - 13:45

Hi - thanks.

i thought that when you wanted to override certain things you need to put the overrides in a separate template.php file?

Garland, for example, has a template.php file.

I basically want to remove the "Search This Site" text from my search bar. (http://drupal.org/node/232874)

I pasted all the code modifications listed in that thread into my own template.php, but nothing changed.

Do I misunderstand the useage of template.php?

Perhaps, you could use

duvien - August 22, 2008 - 13:59

Perhaps, you could use search_theme_form.tpl.php to override the search block.

Look at the Garland theme for example.

Thanks,

 
 

Drupal is a registered trademark of Dries Buytaert.