You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#116778 How to exclude text links

Posted in ‘Mediabox’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Wednesday, 10 July 2024 20:02 BST

ayswest

I have a page that has images that I want to open in the popup but text links that I want to go to Amazon and open in a new page.

Is there a way to confine the popup to images only? I see the dropdown arrow next to the link icon and the link can be inserted there but I have to get into the code to add target= "_new" for the link to open in a new tab.

I am turning this site over to a customer to maintain but the work around, having them update code, is fraught with issues.

 

Please advise.

Yvonne McChesney

Ryan

When you have MediaBox installed not all links will open in a popup, only those that are configured to when they are created.

For other links, like your text links, you can set a default target for them in the JCE Editor Profiles -> Plugin Parameters -> Link, so that all new links the client creates will open in a new tab.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

ayswest

A better solution is to make the Mediabox not default in the Profile's Plugin Parameters. So if we want it to use it we have to select it.  

 

Thanks

Ryan

A better solution is to make the Mediabox not default in the Profile's Plugin Parameters.

It doesn't, only if you have set it to be the default.

In Editor Profiles -> Plugin Parameters -> Link, make sure the Popups "Default" option is set to "Not Set".

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.