New Zenner
- Join Date:
- Nov 2006
- Posts:
- 4
- Plugin Contributions:
- 0
Post #1 by jegelstaff
Hello,
Thank you to all the community members who have contributed to the FAQs and the wiki, it has all been very helpful in explaining how the powerful templating system works.
I have not been able to find the one thing that would benefit me the most though...a simple list of what all the files are in the default template, and what parts of the page they contain.
I think this would be very useful when trying to modify specific parts of the page. I think most filenames are self-explanatory actually, but I have been looking for this info because no matter what, I cannot find a place to modify some of the material near the top of the page, I think it's the header, but none of the files that are named anything remotely like "header" seem to contain the necessary info.
The part of the default page that I want to modify (or remove) looks like this, when you view-source (I have altered the URLs, so if they look funny, that's why):
<!--bof-header logo and navigation display-->
<div id="headerWrapper"> <!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><a href="/store/">Home</a></li><li><a href="/store/index.php?main_page=login">Log In</a></li>
</ul>
</div>
<div id="navMainSearch"></div>
<br class="clearBoth" />
</div>
<!--eof-navigation display-->
<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo"><a href="/store/"><img src="includes/templates/template_default/images/logo.gif" alt="Powered by Zen Cart :: The Art of E-Commerce" title=" Powered by Zen Cart :: The Art of E-Commerce " width="192" height="64" /></a></div>
<div id="taglineWrapper">
<div id="tagline">TagLine Here</div>
</div>
</div>
<br class="clearBoth" />
<!--eof-branding display-->
<!--eof-header logo and navigation display-->
<!--bof-optional categories tabs navigation display-->
<div id="navCatTabsWrapper">
<div id="navCatTabs">
<ul>
<li><a class="category-top" href="/store/index.php?main_page=index&cPath=2">Software</a> </li>
</ul>
</div>
</div>
<!--eof-optional categories tabs navigation display-->
<!--bof-header ezpage links-->
<div id="navEZPagesTop">
<a href="/store/index.php?main_page=page&id=1&chapter=10">EZPages</a> ::
<a href="/store/index.php?main_page=privacy">Privacy Notice</a> ::
<a href="/store/index.php?main_page=page&id=6&chapter=0">Shared</a> ::
<a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>
</div> <!--eof-header ezpage links--> </div>From looking at the tpl_main_page.php file, it appears that this is all generated somehow from the tpl_header.php file. But I have not been able to figure out how or where it is coming from exactly.
Files I have checked out include:
tpl_box_header.php
tpl_header.php
html_header.php
But obviously they don't help. If anyone can shed some light on this, I would be very grateful. Thanks!
--Julian