vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to make custom CMS pages not open in new tabs (https://vborg.vbsupport.ru/showthread.php?t=284576)

Jakub03 06-18-2012 01:07 AM

How to make custom CMS pages not open in new tabs
 
Hello,

I got a little issue with some CMS pages.
http://www.mypokerhub.com/content.ph...tions?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:
Code:

<a href="content.php/{option}">{param}</a>

Then instead of using the link button, surround your images with that tag like:
Code:

[ARTICLE=129-PokerStars-Homepage](image here)[/ARTICLE]


All times are GMT. The time now is 06:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01162 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete