Is it possible to link an added tab to an external page/site?
How do I add a new link under the Forums tab?
I was hoping I could have a tab and under that links that led to various external pages of a sister site.
Found a small problem.
I set one of my forums as a tab and it all works fine until I read a thread.
Then the tab is focussed and the breadcrumbs display Home > Forum Tab for all forums other than the forum in question; the breadcrumbs display correctly when reading a thread from that forum.
Found a small issue Jake...not really a bug though.
Using the tab for a category that contains a couple of forums. I copied the "Mark Forums Read" link from the navigation template to the sub menu of the tab however when clicking you only get the option to mark ALL forums read, not just the one forum that you are in under the new tab
<xen:if is="{$visitor.user_id}"><li><a href="{xen:link 'forums/-/mark-read', $nodeTab, 'date={$serverTime}'}" class="OverlayTrigger">{xen:phrase nat_mark_tab_read}</a></li></xen:if>
Tried to output 3 node levels but got no solution.
I want to include in the navBar a tab with this structure:
Category
- Forum
-- SubForum
Is it possible to do with template? or anything else maybe?
Hi JakeThe new update also addresses this problem. I have made $nodeTab available to linkTemplates so you can use this code:
Code:<xen:if is="{$visitor.user_id}"><li><a href="{xen:link 'forums/-/mark-read', $nodeTab, 'date={$serverTime}'}" class="OverlayTrigger">{xen:phrase nat_mark_tab_read}</a></li></xen:if>
But this code only works for forum tabs. You can't "mark read" a category or page node.
Tried to output 3 node levels but got no solution.
I want to include in the navBar a tab with this structure:
Category
- Forum
-- SubForum
Is it possible to do with template? or anything else maybe?
Hi Jake
Added the code to the tab sub menu and receive an error when in a forum under the tab:
The requested forum could not be found.
I have:
Page
- Category
--Forum 1
--Forum 2 etc
The error happens when viewing forum 1 or 2 etc...also for the category but know it wouldn't work in there anyway...I think the simplest option for me would be to place a "Mark This Forum Read" link where it use to be instead of in the sub menu
I could be wrong, but I think Jake said that it'll include all child nodes, but I think it only builds out to a depth of one child from the tab.
Enable the permission option for that tab:
View attachment 21687
Then deny access for guests:
Admin CP -> Applications -> Display Node Tree -> Permissions -> Unregistered / Unconfirmed
Revoke all.
We use essential cookies to make this site work, and optional cookies to enhance your experience.