I have been taken the compromise template and extensively tweaked it up for a new domain.. I noticed, once logged in, there was menu button for "My Account" but no "Log Off". It looks like at some point I changed the language file for "MENU_TEXT_LOGIN" to "My Account". I think EJ worked with me one night to get that in there. Tonight I now realize once logged in, I wanted to go check the orders were listed under "My Account" - there is now a "Log Off", but no "My Account" menu choice.
so here is what I did..
/catalog/templates/compromise/main_page_code.php
FIND:
ADD ABOVE:Code://begin{myaccount}
===================Code://begin{loginout} ?> <?php if (tep_session_is_registered('customer_id')) { ?> <a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo MENU_TEXT_LOGOUT; ?></a> <?php } else {?> <a href="<?php echo tep_href_link(FILENAME_LOGIN, '', 'SSL'); ?>" class="headerNavigation"><?php echo MENU_TEXT_LOGIN; ?></a> <?php } ?> <?php //end{loginout}
/catalog/templates/compromise/main_page.html
FIND:
ADD BELOW (or above, it doesn't matter really)Code:<li>{myaccount}</li>
Code:<li>{loginout}</li>
I hope that helps someone!





LinkBack URL
About LinkBacks






Reply With Quote


Bookmarks