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.

Recent Topic top of Categories

View previous topic View next topic Go down

Solved Recent Topic top of Categories

Post by Luffy on October 27th 2014, 1:52 am

Hello,

I was wondering hot can i add the recent topic widget to the top of the categories and not to the right column of widgets.

I tried adding all the mod_recent_topic tempalte to the index_box but nothing happened.

Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: Recent Topic top of Categories

Post by Ange Tuteur on October 27th 2014, 4:24 am

Hello MrMind,

Go to Administration Panel > Modules > JavaScript codes management > Create a new script

Title : Your choice
Placement : In the homepage
Code:
$(function(){$('#recentTopics').prependTo('#main-content > .main:has(.boxlastpost)')});

That should add it to the top of the element that the categories are in.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Recent Topic top of Categories

Post by Luffy on October 27th 2014, 2:01 pm

Thanks! Worked perfect! SOLVED!






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

Back to top Go down

Solved Re: Recent Topic top of Categories

Post by Ange Tuteur on October 27th 2014, 3:55 pm

You're welcome Smile

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
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