[SOLVED] - Navigation - new window not working

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
SimonF
Forum Members
Forum Members
Posts: 24
Joined: Fri Feb 05, 2016 9:42 pm

[SOLVED] - Navigation - new window not working

Post by SimonF »

CMS 2.1.2
PHP 5.5.32

Have some links in my navigation, using Simplex Template. Choose Target as _Blank from the dropdown but these links do not open in a new window or Tab, they open in the same tab. Same result in multiple browsers.

Whilst I have modified the Simplex Template and the Core & Layout Stylesheets, I haven't changed the default Navigator files.

When inspected in Chrome tools, the link shows as this:

Code: Select all

<li><a class="cf" href="http://www.xxxxxx.co.uk/">Shop</a></li>
Edit to add that other external links on the site do open in a new window as set to do so.
Target="_blank" is not being added to the navigation links when generated by CMSMS.
Any ideas why not, please, folks?

Regards,

Simon
Last edited by SimonF on Wed Mar 16, 2016 3:18 pm, edited 1 time in total.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Navigation - new window not working

Post by velden »

Make sure the {Navigator} call does NOT have the 'loadprops=0' parameter/value.

So either remove that or change 0 to 1
SimonF
Forum Members
Forum Members
Posts: 24
Joined: Fri Feb 05, 2016 9:42 pm

Re: [SOLVED] - Navigation - new window not working

Post by SimonF »

Thank you, Velden.

I hoped it was a simple solution & it was!

Regards,

Simon
Post Reply

Return to “CMSMS Core”