[support] Different page designs for zen theme

Howard Barr howardjapan at gmail.com
Sat Jan 4 03:13:22 UTC 2014


Thank you Jamie, that link is just what I was looking for.

Howard


On 4 January 2014 08:01, Jamie Holly <hovercrafter at earthlink.net> wrote:

> 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
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20140104/667739a6/attachment.html 


More information about the support mailing list