I want to use a unique header on just the home page.
I am using 1.3.4
So on home.tpl I changed the very first line from
<?php echo $header; ?>
to
<?php echo $header2; ?>
Now what is needed so I can use $header2; ?
I saved a copy of template/common/header.tpl as
template/common/header2.tpl
I saved a copy of controller/common/header.php as
controller/common/header2.php
Don't want to change the language or any of the displayed text so didn't think this was necessary but did it anyways and saved a copy of language/english/common/header.php as
language/english/common/header2.php
When I load the page I get an error:
Notice: Undefined variable: header2
Is there much else needed?
thanks!
I tried the exact same thing before finding this post.
Obviously I couldn't get it to work either.
Anyone know where the header variable is defined?
Obviously I couldn't get it to work either.
Anyone know where the header variable is defined?
Who is online
Users browsing this forum: No registered users and 6 guests