View Single Post
  #1  
Old 11-23-2016, 03:00 PM
  acidon's Avatar 
acidon acidon is offline
 

Senior Member
  
Join Date: Feb 2008
Posts: 139
 

Question Trying to add a custom tab in My Account section

I am trying to add a custom tab in My Account customer area:



I end up in /common_files/customer/main/top_links.tpl

I hardcoded:

Code:
<li class="ui-state-default ui-corner-top"> <a href="my_page.php" class="ui-tabs-anchor">Downloads</a> </li>

But it is not working as intended.

I am trying to figure out how this bit works:
Code:
from=$tabs item=tab key=ind
, or to be precise, where does $tabs gets created?

I was looking for clues in content.tpl, home.tpl but so far no luck. If only I could find a php page responsible for it, I think I will be on the right track, unless it is more complicated than that.

Does anyone have and advice how to approach it? I am just starting with this smarty thing but have a good background in PHP.

Thanks in advance!
__________________
Version 4.7.6 X-cart Gold
Reply With Quote