Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#505 2007-11-28 17:32:27
- mattgilbert
- Member
- Registered: 2006-03-23
- Posts: 70
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
also, is there such a thing as “activeclass” or some equivalent with rss_us_list? i’m trying to mimic:
<txp:category_list active_class="active" />
Offline
#506 2007-11-28 17:42:50
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
mattgilbert wrote:
also, is there such a thing as “activeclass” or some equivalent with rss_us_list? i’m trying to mimic:
Offline
#507 2007-11-28 18:55:36
- mattgilbert
- Member
- Registered: 2006-03-23
- Posts: 70
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
that function doesn’t seem to work for me. ‘activeclass’ is never used in my case.
it seems to compare each category to “$thispage[‘c’]”, which, for me, is an empty string, or is undefined or something whatever page i’m on.
Last edited by mattgilbert (2007-11-28 19:01:55)
Offline
#508 2007-11-28 20:25:56
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
mattgilbert wrote:
it seems to compare each category to “$thispage[‘c’]”, which, for me, is an empty string, or is undefined or something whatever page i’m on.
It should work on category list pages, but wouldn’t work on section front pages or single articles. What context are you using it in?
Offline
#509 2007-11-28 21:30:07
- mattgilbert
- Member
- Registered: 2006-03-23
- Posts: 70
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
i was using it on category pages, so it should have worked. i’m not sure why it didn’t, but I switch $thispage[‘c’] with the $c, and it works now. thanks for your help!
Offline
#510 2007-11-28 21:54:47
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
That’s odd. I’ve only used the activeclass modification on one site, but it worked fine there. What version of Textpattern are you using?
Offline
#511 2007-11-28 21:57:54
- mattgilbert
- Member
- Registered: 2006-03-23
- Posts: 70
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
It baffles me too, but I’m satisfied with how it’s working for me.
I’m using version 4.0.4.
Offline
#512 2007-11-30 01:32:50
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
mattgilbert wrote:
I’m using version 4.0.4.
That might have something to do with it, since the site I used it on was running 4.0.5. I’ll post something in the plugin developers forum and see if the version difference might be causing problems.
Thanks for the heads up!
Edit: One more question — what permalink mode are you using?
Last edited by Logoleptic (2007-11-30 01:47:18)
Offline
#513 2007-12-03 12:46:00
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I’ve updated the rss_unlimited_categories_list
activeclass patch to fix the problem Matt spotted. Thanks again for the tip-off. :-)
Offline
#514 2007-12-17 10:02:50
- jeremywood
- Member
- Registered: 2007-12-12
- Posts: 26
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I’m seeing an obnoxious problem with rss_unlimited_categories_article_list.
It occurs when I use it more than once. If I just put in once, it returns all of the items in that category. However, if I put it in the same page again, with a different category, I start to see only partial results. One rss_unlimited_categories_article_list might be complete, while another would be empty, or missing articles. Here’s an example:
<h2>Distribution Amplifiers</h2>
<txp:rss_unlimited_categories_article_list category=“distamp” section=“products” form=“products_list”/>
<h2>High Definition</h2>
<txp:rss_unlimited_categories_article_list category=“highdefinition” section=“products” form=“products_list”/>
If I put just the first, or just the second list on a page, it works, if put both, I’ll get partial results in one or the other. The likelihood of this happening seems to increase when I increase the number of <txp:rss_unlimited_categories_article_list />‘s.
Has anyone else seen this problem, and have they figured out how to fix it?!
Thank you,
Jeremy
Offline
#515 2007-12-17 18:09:31
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
@jeremywood: When you say “page,” are you referring to a Textpattern page template or to a page on your website? I don’t think the tag is context-sensitive, but it might help troubleshooting to know where you’re using it.
For what it’s worth, I’ve used multiple rss_uc_article_list
tags in a single Txp article without incident.
Offline
#516 2007-12-17 20:37:47
- jeremywood
- Member
- Registered: 2007-12-12
- Posts: 26
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Logoleptic wrote:
@jeremywood: When you say “page,” are you referring to a Textpattern page template or to a page on your website? I don’t think the tag is context-sensitive, but it might help troubleshooting to know where you’re using it.
I’m using it a page template, as well an article, and I’m getting bad results either way.
rss_unlimited_categories_article_list section=“foobar” category=“foo”
-blah
-bskj
-pink
rss_unlimited_categories_article_list section=“foobar” category=“bar”
-blah
Where -bskj should have been in “bar”
I just tried starting over with a clean textpattern installation, and found the same problem.
Offline