Hi,
I have a new site with 1.10.3.
Using Left simple navigation.
http://www.vds-pflanzen.at
One of the menu-items (webshop) is a link to an external URL.
I have given in the URL and in Options
gave "_blank " for target.
Then it opens in the same window.
When I look in the sourcecode with the browser there is no target="_blank"
Is this a known problem?
And is there a patch?
Kind regards,
Jan
[solved]Menu-item with external link not using target=_blank
[solved]Menu-item with external link not using target=_blank
Last edited by janvl on Sun Jan 29, 2012 12:24 pm, edited 1 time in total.
Re: Menu-item with external link not using target=_blank
As I see it the template "Left simple navigation" uses the menutemplate simple_navigation and it doesn't account for a target attribute.
...is missing from the template.
Perhaps the template is just that "simple"
Either insert it yourself or use another menutemplate like cssmenu.tpl or accessible_cssmenu.tpl.
Code: Select all
{if $node->target}target="{$node->target}" {/if}
Perhaps the template is just that "simple"
Either insert it yourself or use another menutemplate like cssmenu.tpl or accessible_cssmenu.tpl.
Re: Menu-item with external link not using target=_blank
Thank you,
I inserted the line and now it works like it should.
Shouldn't this be in the standard template? For if you enter a menu-item you can choose in options for the "target".
I will make a note to the devteam.
Kind regards,
Jan
I inserted the line and now it works like it should.
Shouldn't this be in the standard template? For if you enter a menu-item you can choose in options for the "target".
I will make a note to the devteam.
Kind regards,
Jan
Re: Menu-item with external link not using target=_blank
isnt there an explanation regarding the availability of this option... I thought I added this myself...janvl wrote:Shouldn't this be in the standard template? For if you enter a menu-item you can choose in options for the "target".
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: [solved]Menu-item with external link not using target=_b
Right, it is there (in german)
"Diese Option kann durch den MenüManager verwendet werden, um anzuzeigen, ob der Link in einem neuen Fenster geöffnet werden soll (target). Bitte prüfen Sie, ob die von Ihnen verwendeten MenüManager-Templates diesen Parameter verwenden."
But on a 1920px wide screen it is not exactly "visible".
I still think, it should be in the templates that are default in CMSMS, especially because it is so simple, just this one line.
Kind regards,
Jan
"Diese Option kann durch den MenüManager verwendet werden, um anzuzeigen, ob der Link in einem neuen Fenster geöffnet werden soll (target). Bitte prüfen Sie, ob die von Ihnen verwendeten MenüManager-Templates diesen Parameter verwenden."
But on a 1920px wide screen it is not exactly "visible".
I still think, it should be in the templates that are default in CMSMS, especially because it is so simple, just this one line.
Kind regards,
Jan
Re: [solved]Menu-item with external link not using target=_b
Did you try...
accessible_simple_navigation.tpl
accessible_simple_navigation.tpl
Re: [solved]Menu-item with external link not using target=_b
Not yet, but I will now.
Kind regards,
Jan
Kind regards,
Jan