To start, I have copied the entire /includes/templates/default_template folder to /includes/templates/mytemplatefolder.
the basic idea of what I want is a section that will only show up on the main index page of the site but not be there when viewing any other part.
I thought of using a banner, but it doesn't need the banner click tracking. thought about using the define_main_page but when I move the code from tpl_index_default.php to tpl_header.php or to tpl_main_page.php it throws an error of not being able to open the file in the require(). To a certain extent I would like to have a secondary header that doesn't show up on any other page then the front page. I just seem to be having a hard time figuring this out and maybe I am over thinking it.
In another CMS they have a variable that can be checked if it is the front page or not. Does ZC have something like this? If not, what would be the easiet way that you all can think of to test if the page being viewed is the front page or not?
Granville
Kirkham Systems, Inc.
Bookmarks