Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-10-31 17:09:46
- Charlie Chalk
- Member
- Registered: 2005-09-06
- Posts: 51
rss_unlimited_categories: articles repeated across multiple pages
Hi
Please take a look at Top Ten Top Ten Lists if you scroll to the foot of the home page and click the ‘more’ link it’ll take you to page two.
The problem I’m having is it doesn’t go to the next batch of ten lists on from those on the home page. If you take a note of the posting times you’ll see that they aren’t in descending order, and several posts are repeated across the different pages. I know I haven’t duplicated any posts (or if I have it’s one in a blue moon!).
Here is the section of code that is producing the articles on the home page:
<txp:rss_unlimited_categories_article_list allowoverride=“0” form=“default” limit=“1” section=“article” status=“4” sortby=“posted” sortdir=“desc” />
<txp:rss_unlimited_categories_article_list section=“advert” form=“Banner” limit=“1” section=“advert” status=“4” sortby=“posted” sortdir=“desc” />
<txp:rss_unlimited_categories_article_list form=“default” offset=“1” limit=“1” section=“article” status=“4” sortby=“posted” sortdir=“desc” />
<txp:article form=“gad” limit=“1” status=“4” />
<txp:rss_unlimited_categories_article_list form=“default” offset=“2” limit=“3” section=“article” status=“4” sortby=“posted” sortdir=“desc” />
<txp:article form=“gad” limit=“1” status=“4” />
<txp:rss_unlimited_categories_article_list limit=“5” section=“article” offset=“5” sortby=“posted” sortdir=“desc” />
As you can see I am using the rss_unlimited_articles plug-in.
Another problem I am having can be seen on the ‘computers’ page. There are 13 articles in that group (some of which are adverts, so only 11 actual articles about lists) so I’d expect a full page of ten then a ‘more’ link to the other one. What I get is a more link going to a second page of ten, most of which are duplicates of the dirst page.
Any advice on what I’m doing wrong would be much appreciated!
CC
(Edit: updated topic subject. -Mary)
Last edited by Mary (2006-11-01 01:17:41)
Offline
#2 2006-11-02 19:35:24
- Charlie Chalk
- Member
- Registered: 2005-09-06
- Posts: 51
Re: rss_unlimited_categories: articles repeated across multiple pages
Thanks Mary, I’d just logged on to move this to the plug-ins section!
A question for anyone regarding my original post, if the last use of the plugin in the code above specifys a limit of 5 articles, will it give me five articles whether or not there are five left? i.e if there are only 2 left will it give me the two remaining ones + 3 from the previous five?
I’d really like to get this sorted if anyone can help
CC
Offline
#3 2006-11-04 12:14:51
- Charlie Chalk
- Member
- Registered: 2005-09-06
- Posts: 51
Re: rss_unlimited_categories: articles repeated across multiple pages
Anyone have any ideas?
CC
Offline
Re: rss_unlimited_categories: articles repeated across multiple pages
you’ll probably find way more help by posting your problem into the plugin thread
sorry don’t use the plug myself
A hole turned upside down is a dome, when there’s also gravity.
Offline