Tuesday, 02 September 2014 19:09
beggarly

How to limit the total no of articles displayed

Groups your news by sections or by categories

How to limit the total no of articles displayed

Postby dolphin » Tue Jan 20, 2009 9:03 am

Hi there

This is a super module and does almost exactly what I need it to.

The one thing that I'm trying to figure out how to do is to limit the total number of articles displayed at a time.

I'm using Global News to "showcase" the latest articles on a site. These come from 4 or 5 different sections - but I only want to display 2 new articles at a time in total. These 2 articles can randomly come from any 2 of the included sections.

At the moment, I can select that only one article per section displays - but that results in 4 to 5 articles being displayed all together.

Is there a way to limit the number of articles displayed?

Thanks for any help on this!
dolphin
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Tue Jan 20, 2009 7:49 am

Re: How to limit the total no of articles displayed

Postby chus » Tue Jan 20, 2009 5:57 pm

Hi!

Please download the module again! We have included one more param to possibly limit the number of Categories or Sections to list, which I think will help you.

You can either re-install it, or replace both mod_globalnews.xml and helper.php.

Thank you!
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: How to limit the total no of articles displayed

Postby dolphin » Mon Jan 26, 2009 10:51 am

Hi!

Thank you for your super fast solution to my problem! I downloaded it again and re-installed and....it's PERFECT! :) Thank you so much! You are an absolute star! :D
dolphin
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Tue Jan 20, 2009 7:49 am

Re: How to limit the total no of articles displayed

Postby ch8rt » Tue Feb 17, 2009 8:51 am

I have that paramater but its not quite doing what I'd like.

Just like dolphin I want to show the latest items across the whole site. So thats 8 sections selected.

I want to show the latest 5 items, more often than not they all come from the same section, but currently I can only get the latest 1 from the most recently added to sections.

Any ideas?
ch8rt
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Tue Feb 17, 2009 8:48 am

Re: How to limit the total no of articles displayed

Postby tabletguy » Thu Feb 19, 2009 10:55 pm

I have a similar request, in that I would like to independently control the number of displayable sections AND the number of articles.

Thus, my site has 3 sections, and sections 1 and 2 have about 10-20 articles in each, while section 3 has a total of 4 articles (I actually posted a screen shot of this in a different bug report thread.

I would like to set a limit of 2 sections, while keeping about 6-8 articles loaded and sliding/scrolling.

===== I just thought of this while writing:

I could do something similar with a COPY of the global news, but I would have to set each to only select from certain sections.

Right now, I don't have to limit the sections per module.

Is there a performance impact running multiple modules?
tabletguy
Fresh Boarder
Fresh Boarder
 
Posts: 4
Joined: Wed Feb 18, 2009 5:36 am


Return to Global News



Who is online

Users browsing this forum: No registered users and 1 guest