The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How do I make the title of a topic a clickable link?

View previous topic View next topic Go down

How do I make the title of a topic a clickable link?

Post by Fae on May 15th 2013, 4:17 am

On the forums, is it possible to make the topic title a link for an url to another site?

Thanks.

Fae
Forumember

Posts : 34
Reputation : 1
Language : english

Back to top Go down

Re: How do I make the title of a topic a clickable link?

Post by Bazinga! on May 15th 2013, 4:31 am

See if this will work for you:

Code:

[url=site url goes here]Topic Title[/url]

Where it says "site url goes here", you'll put the URL for the site there in it's place.

Where it says "Topic Title", you'll put the title of the topic there in it's place.


Try that and see if that helps.

Bazinga!
Forumember

Female Posts : 669
Reputation : 29
Language : U. S. English
Location : U. S. A.

http://fairytale.crazy4us.com/

Back to top Go down

Re: How do I make the title of a topic a clickable link?

Post by Fae on May 15th 2013, 5:07 am

No, that didn't work. =/

Instead, it just showed the code as well.. including the link and everything. When I clicked on it, it acted like any other post and opened up the topic.

Fae
Forumember

Posts : 34
Reputation : 1
Language : english

Back to top Go down

Re: How do I make the title of a topic a clickable link?

Post by Sanket on May 15th 2013, 11:30 am

I don't think topic title can be modified.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Re: How do I make the title of a topic a clickable link?

Post by Ultron's Vision on May 15th 2013, 11:43 am

You could try using jQuery (I will not guarantee that this will work)...

Code:
jQuery(document).ready(function(){

if(jQuery('.t-title').html().indexOf('Your topic title here')>-1){

jQuery('.t-title').html().indexOf('Your topic title here').html('<a href="your link here">Your topic title here</a>');

});

});

I'm not sure if the method chaining does what I want it to do, but you can try Wink

Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum