
Originally Posted by
gleb486
Tank you jettrue. It really saved time.
Now could you please direct me how I can add menu battons and links in the red menu ba such as "about us" and "why buy from us". The problem become more complex because I need it in both English and Russian. Or would you advice any other alternative?
Thank you.
I have no advice for the english/russian issue, I've never dealt with multiple languages, however, I do know that you have to create a russian language file for every english one that you have, so that when your customers change it to russian, zen cart knows what to change the text to.
To add buttons, you'll need to open up includes/templates/cherry_zen/common/tpl_header.php and find this section:
Code:
<div id="navMain">
<ul>
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><span><?php echo HEADER_TITLE_CATALOG; ?></span></a></li>
<?php if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_LOGOFF; ?></span></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_MY_ACCOUNT; ?></span></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_LOGIN; ?></span></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><span><?php echo HEADER_TITLE_MY_ACCOUNT; ?></span></a></li>
<?php } } ?>
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><span><?php echo HEADER_TITLE_CART_CONTENTS; ?></span></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><span class="last"><?php echo HEADER_TITLE_CHECKOUT; ?></span></a></li>
</ul>
</div>
</div>
which is the red links. Carefully look through the above code, and figure out where you want your links. Then add them like this:
<li><a href="link to page here"><span>Name of Page Here</span></a></li>
You'll also need to open up includes/templates/cherry_zen/css/stylesheet.css and make #navMain wider than 750px.
Bookmarks