[support] Drupal Homepage
Mark Shropshire
mdshrops at shropnet.com
Fri Jun 30 10:34:01 UTC 2006
I imagine that the they are checking to see if the user is on the
home page using "if ($page == 0)" in page.tpl.php. Custom home page
only code can be placed inside this conditional check like:
<? if ($page == 0) { ?>
html.. more php...etc here for home page use only..
<? }; ?>
That is how to get it to show up only on the home page. You can view
the css and html source to see how they did the actual design.
Thanks,
Mark
On Jun 30, 2006, at 5:39 AM, Phares Kariuki wrote:
> Does anyone know how the custom header in the drupal homepage was
> achieved...?
> The section where they announce that drupal 4.7 is out... and also
> next to it
> requesting that someone views their webcast on what is different in
> drupal
> 4.7.....
>
>
> Thanks...
>
>
> Phares K. Kariuki
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
More information about the support
mailing list