Originally Posted by
areyousure
some of these tabs are automatically added after login? woo, this sounds even better.
but i still think that a 'forum' tab should be there as well, and some site primary links like wiki, prodcast, affiliate program, and external links can look better if they are rounded-corner tabs than just mere links.
Yep, the tabs are automagical.
IF you wanted other tabs instead (you'd run out of room if you added any additional - when logged in with items in cart the tabs are: Home - Log Out - My Account - Shopping Cart - Checkout) you could open up includes/templates/nifty_zen/common/tpl_header.php and find this section:
Code:
<div id="navMain">
<ul id="back">
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
<?php } } ?>
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
</ul>
</div>
and remove the ones you don't want, and add the links you do want. The tabs styles are controlled by the css, so as long as you keep the <div id="navMain"><ul id="back"> and just adjust the links, they will look like tabs, not just links.
HTH!
Bookmarks