CMS MADE SIMPLE FORGE

Menu Manager

 

[#7529] Add the target for the URL in template simple_navigation.tpl

avatar
Created By: Jan van Leeuwen (janvl)
Date Submitted: 2012-01-29 16:46

Assigned To: Ronny Krijt (ronnyk)
Resolution: None
State: Open
Summary:
Add the target for the URL in template simple_navigation.tpl
Detailed Description:
When one uses the simple navigation on the left, which is often asked for by
customers, then using an URL to an external Link does not take over the target,
that is selected in the options-tab.

This is easily changed if the following piece of code ist changed from this:

{else}
<li><a href="{$node->url}"><span>{$node->menutext}</span></a>

to this

{else}
<li><a href="{$node->url}" {if $node->target}target="{$node->target}" {/if}
><span>{$node->menutext}</span></a>

Since setting the target is very basic HTML I think it should be in there.

Kind regards,
Jan van Leeuwen

History