DroidHost
Well-known member
I want to add a new tab in the profile
and I am using this code for the template
with these hooks:
member_view_tabs_heading
member_view_tabs_content
but the url that generate is not like what in other tabs
this is orginal generated url : http://localhost/xen/members/sndan.1/#recentActivity
but mine : http://localhost/xen/#album
and I am using this code for the template
HTML:
<li><a href="<li><a href="{$requestPaths.requestUri}#myroute">{xen:phrase Album}</a></li>">{xen:phrase Album}</a></li>
HTML:
<li id="album" class="profileContent" data-loadUrl="{xen:link members/myroute, $user}">
{xen:phrase loading}...
<noscript><a href="{xen:link members/myroute, $user}">{xen:phrase view}</a></noscript>
</li>
member_view_tabs_heading
member_view_tabs_content
but the url that generate is not like what in other tabs
this is orginal generated url : http://localhost/xen/members/sndan.1/#recentActivity
but mine : http://localhost/xen/#album