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.

Secondary recent topics widget

View previous topic View next topic Go down

Secondary recent topics widget

Post by Anzo on August 5th 2016, 1:53 am

Hello,

Recently I requested a recent widget to show latest topics of a specific section, I was then refered to a tutorial where I can do that.

However, I have a small issue with the widget: It shows global topics. Like, If i have a topics in which it shows within all sections then the widget will show it as well. I want the code not to show globally pinned topics if able.

here is what I'm using
JS:
Code:
jQuery(document).ready(function(){
jQuery("#newsareal1_tour").load("f20-tournaments div.topic-title-container:lt(6)");
});

Anzo
Forumember

Posts : 316
Reputation : 6
Language : English/Arabic
Location : Baghdad - Iraq

http://www.duelacademy.net/forum

Back to top Go down

Re: Secondary recent topics widget

Post by SocialAcademy on August 6th 2016, 2:09 am

do you want a topic widget which specific section only display?

SocialAcademy
Forumember

Male Posts : 141
Reputation : 10
Language : JavaScript, CSS, Html, JQuery, C#, C++, Php, Python
Location : Forumotion

http://www.socialacademy.biz

Back to top Go down

Re: Secondary recent topics widget

Post by Anzo on August 6th 2016, 2:49 pm

That is what I already have. As I said, someone - I believe a Support staffer - had already guided me onto how to make a second topics widget for a specific section.

The only problem with that is now the second widget shows 'Global Announcement' topics before it shows the actual recent topics of that section.

Anzo
Forumember

Posts : 316
Reputation : 6
Language : English/Arabic
Location : Baghdad - Iraq

http://www.duelacademy.net/forum

Back to top Go down

Re: Secondary recent topics widget

Post by Anzo on August 7th 2016, 7:00 pm

Bump

Anzo
Forumember

Posts : 316
Reputation : 6
Language : English/Arabic
Location : Baghdad - Iraq

http://www.duelacademy.net/forum

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