View Full Version : Module Links
djmini
01-17-2006, 10:52 PM
I put an image that links to a page on my site... Inside a custom BBCODE Module.
it opens a new page tho....
How to I code it so that it doesn't open in a new page??
Thanks!
djmini
01-18-2006, 01:41 PM
Bump
agiacosa
01-19-2006, 07:40 AM
I need help with this too. I'm not using an image but a link to a URL.
Little help please?
Brian
01-19-2006, 06:16 PM
Any links using the default vB code are always going to open in a new window. The only other option would be to add a new BB code and use that for links that you do not want to open in a new window.
djmini
01-20-2006, 03:13 PM
I've created the module using BBcode.
Is there a particular "code" within that , that one can use to make the link open rather not in a new window, but in the existing?
Thanks.
agiacosa
01-20-2006, 04:08 PM
You need to set up a custom BB code in AdminCP for the URL link. In that html code (i.e., the <a href...>) add target="_self".
libertate
01-20-2006, 05:32 PM
go to your Admin page -> Custom BB Codes -> Add New BB code
TitleURL in self Window Tagurl2 Replacement
<a href="{option}">{param}</a> ExampleBest site Descriptionlinks are launched in original window, instead of spawning a new window. Use {option}Yes I don't think you need the "_self" tag. It works for me as above.
Then any time you use the url2 tag instead of the default url tag, it will launch by default however the user defined regular link launching. I feel this is slightly better, since some people like to launch in new window by default, and the _self might force it otherwise.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.