I've looked all over and searched the forums and just can't find it even though it's probably simple: How do I make url= BBCode tags so they open in a new window instead of in the same window as they do by default?
I'm sure I'm missing something
Jenni
Gallery version = 2.0.2 core 1.0.0.2
Posts: 32509
so this has nothing to do with gallery?
bbcode? depends on the forum you're using. don't think most forums have a bbcode option whether to open bbcode links in a new window or not.
Posts: 3
no forum.... gallery. You can put links in captions, descriptions and the like by using the URL button which in turn uses a bbcode-like [ url ] tag.
Posts: 32509
ah, sorry. so this is about the bbcode in g2 itself.
as far as i see there's no option to switch between opening new links in new windows or not.
you can file a feature request if you want at http://sf.net/projects/gallery/ -> RFE
and if you want to hack it yourself see:
lib/bbcode/bbcode.class
Posts: 68
wombatDK,
did you find a way to do this by editing the bbcode.class .. if so could you share how please.
I'm very keen to have this bbcode option as well..
thanks
Posts: 57
Anyone, has anyone found the solution to this riddle about editing the the base files maybe even the bbcode.class for creating URLs in a new window. I am too interested in a solution about this.
Posts: 57
"I may not be a smart man Jeni, but I know what code is..."
Posts: 3
Sorry but no - that bbcode.class made no sense to me whatsoever, and I wasn't interested to dig through code for hours to find where to make the change.
Jenni
Posts: 34
Check out the code in this message: http://gallery.menalto.com/node/37003
I think that answers your question. It takes a little digging, and you have to update it anytime you update your installation. I would like to see this as a feature in future versions.
Shawn Connelly
hyperSystems, Inc. http://www.hypersystems.us
phone: 720-260-3200, fax: 303-740-0329
Posts: 34
BTW, there is a feature request for this. Go vote for it! #1262123
Shawn Connelly
hyperSystems, Inc. http://www.hypersystems.us
phone: 720-260-3200, fax: 303-740-0329