How do I use different drupal page templates? -
I have two page template files, which is just 'page.tpl.php' and for the subset of the second page .
I just got a few pages and the rest for this template to be paged.PPP How can I decide?
Thank you! I am on Drupal 6. Follow the so-called "tips" in the template in Drupal
.
For pages, suggestions are drawn up using URL-Path.
You can do your page.tpl.php
name on page / foo / bar:
- page.tpl.php
- Page-foo.tpl.php
- Page-foo-bar.tpl.php
Drupal will look at least specific from most specific and first If found, page-foo-bar.tpl.php is found, then it will use it for foo / bar, if not, then they will see it. If it finds pagefood, then it will use it
Page-FUTPPP Will also be used / for Afu / Beehark Foo / Pirates and FU / Parrot, unless the curriculum is closed, you create a page-foo-parrot.tpl.php.
There is no path to the front page (obviously), but there is no suggestion for the French page: Page-front. Tpl.php
is used only in front Will be for the page.
Comments
Post a Comment