On Friday 30 June 2006 03:34, Mark Shropshire wrote:
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..
<? }; ?>
Umm, yeah, except that there is no semi-colon after the closing brace. For more details on this front page topic, a handbook page has been created:
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.