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.

Moving the "Watch this topic" link

View previous topic View next topic Go down

In progress Moving the "Watch this topic" link

Post by troyeccles on August 18th 2014, 12:45 pm

Hello,

I'm trying to move the "Watch this topic for replies" and "Stop watching this topic" links as members are complaining that they're too close to the page numbers.

I found half the answer to this question in this thread here:

http://help.forumotion.com/t132893-add-space-between-number-of-pages-and-watch-this-topic?highlight=Watch

....in which a JavaScript code was recommended. I've used this code (see below) and it has moved the "Watch this topic for replies" link below the quick reply box.

However, the "Stop watching" link is still in its original spot.

What would I need to add to the code to move this also?

Code I'm using now is:

$(function() {
$('p.right:has(a[href$="?watch=topic"])').appendTo('#quick_reply');
});



Thanks,

Troy.

troyeccles
Forumember

Posts : 296
Reputation : 5
Language : English

Back to top Go down

In progress Re: Moving the "Watch this topic" link

Post by AngelaHolmes on August 18th 2014, 9:45 pm

Hello,

What forum version are you running n because some codes only work on specified versions.

Thanks Smile

AngelaHolmes
Forumember

Male Posts : 203
Reputation : 8
Language : English
Location : England

http://Help.Forumotion.com

Back to top Go down

In progress Re: Moving the "Watch this topic" link

Post by Ange Tuteur on August 18th 2014, 10:01 pm

Hello troyeccles,

I forgot about the stop watching this topic link, I added it into the script. Replace your current script by :
Code:
$(function(){$('p.right:has(a[href$="?watch=topic"],a[href$="?unwatch=topic"])').appendTo('#quick_reply')});

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Moving the "Watch this topic" link

Post by troyeccles on August 19th 2014, 3:41 am

Ange, that is EXACTLY what I want. Perfect!

Thank you very much!!

Solved. Smile

troyeccles
Forumember

Posts : 296
Reputation : 5
Language : English

Back to top Go down

In progress Re: Moving the "Watch this topic" link

Post by Ange Tuteur on August 19th 2014, 5:23 am

You're welcome

Topic archived

Have a nice day. Smile

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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