PDA

View Full Version : How to make custom CMS pages not open in new tabs


Jakub03
06-18-2012, 01:07 AM
Hello,

I got a little issue with some CMS pages.
http://www.mypokerhub.com/content.php/122-Promotions?tabid=48

Is there a way to make it so when I click on one of the images for it not to open the in a new tab, but on the same page?

kh99
06-18-2012, 01:17 AM
The html for those links has target="_blank", which is what's making them open in a new tab.

Jakub03
06-18-2012, 01:21 AM
I just posted the images and used the link button from the WYSWYG editor.

Is there a quick change i can do?

kh99
06-18-2012, 02:46 AM
Oh, I see. That's built-in when you put a link in a post using the [url] bbcode (or use the editor button). I'm not sure what to do about that.

Maybe you could make a bbcode with a tag like ARTICLE and replacement:
<a href="content.php/{option}">{param}</a>


Then instead of using the link button, surround your images with that tag like:
(image here)