Originally Posted by
mprough
I see you found the shipping & returns link ... cheers!
Yes, down from 8 errors to 7 errors (test site). Thank you!
Originally Posted by
mprough
These appear to have been added by hand to the categories_tabs div. Probably in the header.php
Yes, they were added by hand in tpl_header.php. Not by me, though. I would have never hard-coded something like this.
Originally Posted by
mprough
In any case, fix the ampersand in the category tabs divs first to narrow the errors and get a clearer picture.
I thought I fixed it, but it doesn't seem to be reflected in the resultant HTML. Here is the actual snippet of the PHP code that (I think) is responsible for this:
PHP Code:
<!--bof-optional categories tabs navigation display-->
<!--<?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>-->
<ul id="categories_tabs">
<li id="categories_tabs_main">
<div id="Downloadables">
<?php echo '<a href="index.php?main_page=index&cPath=2">' . zen_image($template->get_template_dir(HEADER_CATEGORIES_TABS1, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' .
HEADER_CATEGORIES_TABS1, HEADER_CATEGORIES_TABS1_ALT) . '</a>'; ?>
</div>
<div class="separator1"></div>
<div id="GiftCertificates">
<?php echo '<a href="index.php?main_page=index&cPath=4">' . zen_image($template->get_template_dir(HEADER_CATEGORIES_TABS2, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' .
HEADER_CATEGORIES_TABS2, HEADER_CATEGORIES_TABS2_ALT) . '</a>'; ?>
</div>
<div class="separator1"></div>
<div id="JawBreakerServices">
<?php echo '<a href="index.php?main_page=index&cPath=3">' . zen_image($template->get_template_dir(HEADER_CATEGORIES_TABS3, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' .
HEADER_CATEGORIES_TABS3, HEADER_CATEGORIES_TABS3_ALT) . '</a>'; ?>
</div>
</li>
<li id="categories_tabs_imgs">
<div class="cats_tabs_img1">
<?php echo zen_image($template->get_template_dir(HEADER_CATEGORIES_TABS1_IMG, DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' .
HEADER_CATEGORIES_TABS1_IMG, HEADER_CATEGORIES_TABS1_ALT); ?>
</div>
<div class="cats_tabs_img2">
<?php echo zen_image($template->get_template_dir(HEADER_CATEGORIES_TABS1_IMG, DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' .
HEADER_CATEGORIES_TABS2_IMG, HEADER_CATEGORIES_TABS2_ALT); ?>
</div>
<div>
<?php echo zen_image($template->get_template_dir(HEADER_CATEGORIES_TABS1_IMG, DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' .
HEADER_CATEGORIES_TABS3_IMG, HEADER_CATEGORIES_TABS3_ALT); ?>
</div>
</li>
</ul>
<!--eof-optional categories tabs navigation display-->
I changed all '&' to '&' but the validator yields the same errors...
Bookmarks