[วิธีทำ] How To Add A Custom Tab

admin

Staff Member
Administrator
Ever want your user upgrades to have their own tab? well look no futher.

You will need to go
Admin Cp --> Appearance --> style --> Your Skin-->Templates

Once your in templates go to "navigation"
Search for this once your in navigation

Code:
<!-- extra tabs: end -->
<xen:if is="{$extraTabs.end}">
<xen:foreach loop="$extraTabs.end" key="$extraTabId" value="$extraTab">
<xen:if is="{$extraTab.linksTemplate}">
<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'Popup PopupControl PopupClosed'}">
Right above it add this code

Code:
<li class="navTab PopupClosed"><a href="{xen:link account/upgrades}" class="navLink">Premium</a></li>
and boom your own tab for user upgrades
 

สมาชิกที่ออนไลน์

ไม่มีสมาชิกที่ออนไลน์ในตอนนี้.

แฟนเพจ


Top Bottom