Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Editing Header Links, Lost Logout link and change


Recommended Posts

OK I seem to have a little problem and I was hoping if you helpful folks could well... help. :blush:


I just installed OSC 2.2 MS2 and I then installed a template. Now here is the problem. Before that update when a customer logged in there was a link that appeared in the header navigation that said 'logoff' (as it should). Well for some reason that no longer appears when logged in >_< and I can't figured out where to adjust it to make it return let alone what to change it to, to make it reappear.


That was the first problem. The next one is still about the header navigation. I want to be able to change the name of the link 'TOP' to home and change where it points. Currently it takes you back to the main page which is not my cart, I would like for it to point to the top level of the subdirectory that it is located in (http://mysite.com/osc). Any suggestions? :blink:



I know that drugs-are-bad! But, who cares if I'm STONED on CAFFIENE! :sweating:

Link to comment
Share on other sites

 <?php if (tep_session_is_registered('customer_id')) {
                   echo '<a target="_self" href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '">logout</a>';
                  } else echo '<a target="_self" href="' . tep_href_link(FILENAME_LOGIN, '', 'SSL') . '">login</a>';?>

thats the part for login and logout in header.php


for second serach in header for

 tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') .

and alter it to point to the file you like, eg



 tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL') .


and it will point to the contact us form


for changing the name-> language file ;)



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...