Home ›
I thought there was a page-front.tpl.php or similar option for Drupal 5 themesI thought there was a page-front.tpl.php or similar option for Drupal 5 themes
Submitted by Benjamin Melançon on October 4, 2007 - 2:34pm
Searched words:
front page template drupal
But I can't find it.
Is it possible to create a unique front page template using phptemplate? Jeff eaten describes how yes, it is possible with custom code in template.php.
And there's no mention of built-in option for a special front page template in PHPtemplate section of Drupal's theming handbook.
But I still think it's possible...
Resolution
In Drupal 5, page-front.tpl.php does take over for the front page, overriding page.tpl.php.
Undocumented phpTemplate wonderfulness...
More like this
- Print information associated with a node elsewhere in page.tpl.php, using a separate template file for theming
- Redirect to Drupal front page
- Serving up a different page.tpl.php for different browser types (i.e., IE6) with your Drupal theme
- Ask Agaric: More contact page options for redirecting and spam protection
- Use h1 for front page site name and strong for interior pages' site name display


Comments
Post new comment