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.
avatar
Luffy
Manager
Manager

Male Posts : 4569
Reputation : 460
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

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.
avatar
Ange Tuteur
Forumaster

Male Posts : 13153
Reputation : 2843
Language : EN10, FR5
Location : Macungie, PA

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!





avatar
Luffy
Manager
Manager

Male Posts : 4569
Reputation : 460
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

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
avatar
Ange Tuteur
Forumaster

Male Posts : 13153
Reputation : 2843
Language : EN10, FR5
Location : Macungie, PA

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