[support] Different page designs for zen theme

Jamie Holly hovercrafter at earthlink.net
Fri Jan 3 23:01:36 UTC 2014


You can change which template file is used in hook_preprocess_page. Look 
for the template_files in $variables. You can get more help here:

https://drupal.org/node/1089656

Jamie Holly
http://hollyit.net

On 1/3/2014 5:46 PM, Roger wrote:
> Hello
> How would I go about creating different page displays using zen
> starterkit. On google and StackOverflow others have asked similar
> questions but the answers do not work or are inconclusive. I have used
> Panels but would like to learn how to theme the required pages myself.
>
>
> I have page--page1.tpl.php, page--page2.tpl.php etc each with it's own
> html and css. Zen template.tpl.php has 3 includes probably core functions.
>
> I need pages in which the html and css is entirely different for
> instance, page1.tpl.php has 2 columns, no header, no footer with small
> text and image blocks in each column, page 2 has header 3 columns and
> footer, text should flow into adjacent columns and so on for each page.
> I do not want a baseline template like page.tpl.php. Creating html and
> css code is no problem.
>
> I have content types for each page and added a few characters in each
> page created in each content type but localhost/drupal/page1 does not
> call the html and css from that page instead defaulting to page.tpl.php
> which overrides all  pages except page_front.tpl.php and places it's
> header and primary content on all pages then my page1, etc displays
> underneath.
>
> I appreciate any help to solve this
> thanks
> Roger



More information about the support mailing list