Michael Dance
Active member
- Use Full Friendly URLs
What does this do?
Hi @Jake BunceEdit this template:
Admin CP -> Appearance -> Templates -> node_link_level_2
Find this code:
Code:<div class="nodeText"> <h3 class="nodeTitle"><a href="{xen:link link-forums, $link}" data-description-x="#nodeDescription-{$link.node_id}">{$link.title}</a></h3> <xen:if is="{$link.description}"><blockquote class="nodeDescription muted baseHtml" id="nodeDescription-{$link.node_id}">{xen:raw $link.description}</blockquote></xen:if> </div>
Add target="_blank" to the link, like this:
Code:<div class="nodeText"> <h3 class="nodeTitle"><a href="{xen:link link-forums, $link}" data-description-x="#nodeDescription-{$link.node_id}" target="_blank">{$link.title}</a></h3> <xen:if is="{$link.description}"><blockquote class="nodeDescription muted baseHtml" id="nodeDescription-{$link.node_id}">{xen:raw $link.description}</blockquote></xen:if> </div>
I couldn't get this to work for Nodes that are set a tabs on the main_nav menu (I have the Nodes as Tabs installed).Edit this template:
Admin CP -> Appearance -> Templates -> node_link_level_2
Find this code:
Code:<div class="nodeText"> <h3 class="nodeTitle"><a href="{xen:link link-forums, $link}" data-description-x="#nodeDescription-{$link.node_id}">{$link.title}</a></h3> <xen:if is="{$link.description}"><blockquote class="nodeDescription muted baseHtml" id="nodeDescription-{$link.node_id}">{xen:raw $link.description}</blockquote></xen:if> </div>
Add target="_blank" to the link, like this:
Code:<div class="nodeText"> <h3 class="nodeTitle"><a href="{xen:link link-forums, $link}" data-description-x="#nodeDescription-{$link.node_id}" target="_blank">{$link.title}</a></h3> <xen:if is="{$link.description}"><blockquote class="nodeDescription muted baseHtml" id="nodeDescription-{$link.node_id}">{xen:raw $link.description}</blockquote></xen:if> </div>
I couldn't get this to work for Nodes that are set a tabs on the main_nav menu (I have the Nodes as Tabs installed).
I have several Nodes as Links setup under a single category. If I navigate directly to that category and click on the links, they now open in a new tab window. However, If I use the menu item that I've setup for all the links in that category, they still open in same window.
How do I control open in a new tab from the menu items?
Ugh, should I be asking this in the Nodes as Tabs forum?
thank you.Edit this template:
Admin CP -> Appearance -> Templates -> node_link_level_2
Find this code:
Code:<div class="nodeText"> <h3 class="nodeTitle"><a href="{xen:link link-forums, $link}" data-description-x="#nodeDescription-{$link.node_id}">{$link.title}</a></h3> <xen:if is="{$link.description}"><blockquote class="nodeDescription muted baseHtml" id="nodeDescription-{$link.node_id}">{xen:raw $link.description}</blockquote></xen:if> </div>
Add target="_blank" to the link, like this:
Code:<div class="nodeText"> <h3 class="nodeTitle"><a href="{xen:link link-forums, $link}" data-description-x="#nodeDescription-{$link.node_id}" target="_blank">{$link.title}</a></h3> <xen:if is="{$link.description}"><blockquote class="nodeDescription muted baseHtml" id="nodeDescription-{$link.node_id}">{xen:raw $link.description}</blockquote></xen:if> </div>
thank you.
I want change ICON node?
We use essential cookies to make this site work, and optional cookies to enhance your experience.