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 Mon Oct 27, 2014 12: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 : 4337
Reputation : 431
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 Mon Oct 27, 2014 3: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 : 13035
Reputation : 2714
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 Mon Oct 27, 2014 1:01 pm

Thanks! Worked perfect! SOLVED!






Luffy
Manager
Manager

Male Posts : 4337
Reputation : 431
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 Mon Oct 27, 2014 2:55 pm

You're welcome Smile

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13035
Reputation : 2714
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