[SOLVED] Content Type: Redirecting Link with _blank target
[SOLVED] Content Type: Redirecting Link with _blank target
I try one external page link with Content Type: Redirecting Link. In Options I select _blank target, but the link open in the same window.
Any idea?
Any idea?
Last edited by mesaredo on Thu Mar 15, 2012 3:37 pm, edited 1 time in total.
Re: Content Type: Redirecting Link with _blank target
What does the output HTML say (view source) for this link? Do you see the target="_blank" ?
Re: Content Type: Redirecting Link with _blank target
Not, only the link appear...
Re: Content Type: Redirecting Link with _blank target
Did you modify your menu template?
Check for something like:
Check for something like:
<li><a href="{$node->url}" class="currentpage"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext} </a>
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Content Type: Redirecting Link with _blank target
it's a known bug in the simple_navigation.tpl; use cssmenu.tpl instead.
Re: Content Type: Redirecting Link with _blank target
I made a clean cms install and try with templates that use the cssmenu.tpl and _blank taget don't work. Link open in the same page.staartmees wrote:it's a known bug in the simple_navigation.tpl; use cssmenu.tpl instead.
Re: Content Type: Redirecting Link with _blank target
Wishbone: Can you paste the complete code from one modified menu template? I dont' know exactly where put this line code.Wishbone wrote:Did you modify your menu template?
Check for something like:<li><a href="{$node->url}" class="currentpage"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext} </a>
Re: Content Type: Redirecting Link with _blank target
I grabbed it from one of the default templates... Where ever you have an <a href= statement, put:
{if $node->target ne ""} target="{$node->target}"{/if}
before you put the closing >
{if $node->target ne ""} target="{$node->target}"{/if}
before you put the closing >
Re: Content Type: Redirecting Link with _blank target
There are 2 menu templates that will let you use the _blank they have accessible_ on the front of them, try using one of them...
Re: Content Type: Redirecting Link with _blank target
Hi Doc. I try with booth, but nothing changes. I test one site with all pages with the same template using accessible_ menu templates ... I'm going crazyDr.CSS wrote:There are 2 menu templates that will let you use the _blank they have accessible_ on the front of them, try using one of them...

Re: Content Type: Redirecting Link with _blank target
Thanks Wishbone. I try this but nothing changes.Wishbone wrote:I grabbed it from one of the default templates... Where ever you have an <a href= statement, put:
{if $node->target ne ""} target="{$node->target}"{/if}
before you put the closing >

Re: Content Type: Redirecting Link with _blank target
I install one testing site. You can see it
http://www.powerbrand.cl/pruebas/
Inside the Testing Menu section I create some pages with one template using accessible_simple_navigation.
If someone like to investigate inside, you can access with "admin" user and pass.
http://www.powerbrand.cl/pruebas/
Inside the Testing Menu section I create some pages with one template using accessible_simple_navigation.
If someone like to investigate inside, you can access with "admin" user and pass.
Re: Content Type: Redirecting Link with _blank target
At first glance, it seems like a bug.. First of all, the cssmenu_ulshadow.tpl menu template checks for 'target', but doesn't use it... I cloned this template, and placed {$target} inside of the <a ...>, but it still doesn't seem to work.
It's not a good idea to put the username and password of a test install on an open forum... Anyone can upload something with the file manager, or put malicious code in a UDT and run it and take over/destroy your entire site.. Not just your test install.
It's not a good idea to put the username and password of a test install on an open forum... Anyone can upload something with the file manager, or put malicious code in a UDT and run it and take over/destroy your entire site.. Not just your test install.
Re: Content Type: Redirecting Link with _blank target
You are right. I change the user and pass.Wishbone wrote:At first glance, it seems like a bug.. First of all, the cssmenu_ulshadow.tpl menu template checks for 'target', but doesn't use it... I cloned this template, and placed {$target} inside of the <a ...>, but it still doesn't seem to work.
It's not a good idea to put the username and password of a test install on an open forum... Anyone can upload something with the file manager, or put malicious code in a UDT and run it and take over/destroy your entire site.. Not just your test install.
Re: Content Type: Redirecting Link with _blank target
Solved.
Thank a lot for the support.
Thank a lot for the support.