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!