Jake B.
Well-known member
I'm trying to make it so you can set a rel and target attribute on navigation li
nks using $extraTabs. It is working fine on the default theme with the following settings:
Find:
Replace:
However, on UI.X it obviously would not work due to the large amount of changes made in the navigation template, so to make things a bit easier I created a second template modification with the following:
Find:
Replace:
But it is not modifying the navigation template for UI.X.
Here is what it's showing me on the template modifications page:
This is for the default one:
And the UI.X one:
I cannot figure out why the apply count is at zero.. I haven't done much using the template modifications, so it is probably just something stupid I have missed.
nks using $extraTabs. It is working fine on the default theme with the following settings:
Find:
Code:
<a href="{$extraTab.href}" class="navLink">
Replace:
Code:
<a href="{$extraTab.href}" class="navLink" rel="{$extraTab.rel}" target="{$extraTab.target}">
However, on UI.X it obviously would not work due to the large amount of changes made in the navigation template, so to make things a bit easier I created a second template modification with the following:
Find:
Code:
<a href="{$extraTab.href}" class="navLink{xen:if '!@uix_alwaysShowNavDropdownArrow', ' NoPopupGadget'}"{xen:if '!@uix_alwaysShowNavDropdownArrow', ' rel="Menu"'}>
Replace:
Code:
<a href="{$extraTab.href}" class="navLink{xen:if '!@uix_alwaysShowNavDropdownArrow', ' NoPopupGadget'}"{xen:if '!@uix_alwaysShowNavDropdownArrow', ' rel="Menu {$extraTab.rel}"', ' rel="{$extraTab.rel}"'} target="{$extraTab.target}">
But it is not modifying the navigation template for UI.X.
Here is what it's showing me on the template modifications page:
This is for the default one:
And the UI.X one:
I cannot figure out why the apply count is at zero.. I haven't done much using the template modifications, so it is probably just something stupid I have missed.