× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

Addition to BBCode

koppie7 replied the topic: Addition to BBCode

3 years 8 months ago

You're welcome

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: Addition to BBCode

3 years 8 months ago

Hi there,

great idea - think i'll add that in for the next release.

Thanks for sharing!

cheers, Frank

Please Log in or Create an account to join the conversation.

koppie7 created the topic: Addition to BBCode

3 years 8 months ago

In addition of the use of BBcode in the popups of your waypoints I added in 'gpxtrackmap.php' a new code so I can open links in a new tab.
If I'm linking to something inside my own website I use the BBCode [url][/url] and

But if I'm linking to another website I want to open that link in a new tab. So I added an new BBCode with the name [nturl] (newtab url) [/nturl]

After line 1127

"/\[nturl\=(.*?)\](.*?)\[\/nturl\]/is" => "<a href='$1' target='_blank'>$2</a>",  // to open links in a new tab

Just for sharing with others who might want to use this. :)

The following user(s) said Thank You: fingeradmin

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum