Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#517 2007-12-17 20:47:53
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Hmm. The only difference between what you’re doing and what I’m doing is that I’m using the tag’s sortby
and sortdir
attributes. Also, the categories that I’m specifying are children of a top-level category. I’m not sure if either of those things would make a difference, and I don’t have time right now to poke around in the plugin’s code to see what might be going on.
Perhaps sometime this evening I can take a closer look. Meanwhile, can you check to see if sorting or using sub-categories makes any difference for you?
Offline
#518 2007-12-17 21:52:23
- jeremywood
- Member
- Registered: 2007-12-12
- Posts: 26
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Logoleptic wrote:
Hmm. The only difference between what you’re doing and what I’m doing is that I’m using the tag’s
sortby
andsortdir
attributes. Also, the categories that I’m specifying are children of a top-level category. I’m not sure if either of those things would make a difference, and I don’t have time right now to poke around in the plugin’s code to see what might be going on.
Perhaps sometime this evening I can take a closer look. Meanwhile, can you check to see if sorting or using sub-categories makes any difference for you?
The categories that I’m using are also sub-categories. I tried adding sort criteria and that didn’t make any difference. I appreciate your looking at this, I don’t know where to begin in chasing this down. I can see how you might not notice this issue if you were managing large numbers of articles, but I only have a handful, and it’s super obvious.
Last edited by jeremywood (2007-12-17 22:56:31)
Offline
#519 2007-12-18 08:38:49
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Jeremy, am I correct in interpreting your example to mean that -bskj not only should have been in the “bar” category but that it also did not belong in “foo”? Or is it a member of both categories? Are all the categories you’re using children, with none of them being parents of the others?
Offline
#520 2007-12-18 13:57:31
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Is there way to sort admin-side list of categories by category’s title, not by name? ANd the same question is for outputting related_articles
?
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#521 2007-12-18 19:01:37
- jeremywood
- Member
- Registered: 2007-12-12
- Posts: 26
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Logoleptic wrote:
Jeremy, am I correct in interpreting your example to mean that -bskj not only should have been in the “bar” category but that it also did not belong in “foo”? Or is it a member of both categories? Are all the categories you’re using children, with none of them being parents of the others?
I should have been more explicit in my example, and show the desired output. Here is what I would like to see:
rss_unlimited_categories_article_list section=“foobar” category=“foo”
-blah
-bskj
-pink
rss_unlimited_categories_article_list section=“foobar” category=“bar”
-blah
-bskj
And here is what I’m actually seeing:
rss_unlimited_categories_article_list section=“foobar” category=“foo”
-blah
-bskj
-pink
rss_unlimited_categories_article_list section=“foobar” category=“bar”
-blah
I haven’t seen items showing up in lists they don’t belong in, only that they don’t show up in successive calls to rss_unlimited_categories_article_list. The first time I call it, I get the expected results.
Offline
#522 2007-12-19 01:14:24
- jeremywood
- Member
- Registered: 2007-12-12
- Posts: 26
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I’m still struggling with crappy results with rss_unlimited_categories_article_list. I have put together a little demonstration of my issue. Here: www.endes.com/test/
The textpattern page template for that address is as follows:
list:<br>
<txp:rss_unlimited_categories_list section="products" parent="avenue" linktosection="products" />
dist amp<br>
<txp:rss_unlimited_categories_article_list category="distamp" section="products" form="products_list"/>
high def<br>
<txp:rss_unlimited_categories_article_list category="highdefinition" section="products" form="products_list"/>
You can see quite clearly from the counts in the txp:rss_unlimited_categories_list output the desired results, specifically the “Avenue 7100 HD…” should be in the second list, which instead only has 5 results, instead of 6.
Offline
#523 2007-12-19 21:05:32
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
@jeremywood: Haven’t had a chance to look into this further yet, but hope to get to it sometime this evening.
Offline
#524 2008-01-06 19:23:36
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Sorry, if this have been asked multiple times. Thread is so long and I can’t find aswer with search to these:
1) when I have article classified to two (rss unlimited) cats, say cat1 and cat2, the plugin sees them (numbers are shown on count after category name). But clicking those cats in the category list returns just empty list.
In page I have:
<txp:article allowoverride="1" form="default" limit="5" listform="mylistingform" searchall="0" sort="Category2 desc" status="4" />
and the category listing:
<txp:rss_uc_list showcount="1" wraptag="ul" break="li" linktosection="mysection" parent="myparent_cat" />
The very basic setup what I’m trying to achieve: I need year for every article (I have used basic category 2 for this – so I can sort articles by year) and I also need 1 or two 2 additional cats for defining the article’s content). I need category list for these content-cats only, not for the year. That’s why I have parented those content cats.
2) Is this compatible with MLP-language pack? It seems not to render translated category titles. Also It seems to take two versions of the article in the category’s count, the original and translation. Should be the translated only in current language. Of course I can’t see the actual lists as told in question 1, so can’t be sure of the final rendering in any lang ;)
Thanks if someone can show me the light.
Offline
#525 2008-01-08 14:58:16
- Phlip
- Member
- Registered: 2005-03-10
- Posts: 36
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I have a sidebar showing a list of all articles in a category. When go a specific article, the permanent link works fine, but that article gets removed from the sidebar list. I’d like to keep it there. Someone mentioned this before, but is there a way to show this article in a list as when it is the current article? Thanks for any help.
Offline
#526 2008-01-09 07:14:45
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Hopefully this hasn’t been covered recently. I’m trying to hide the pull downs for Category1 and Category2 when using this plugin.
I’m trying to train some users and I feel this will confuse them to see these.
Has anyone done this before? Or any suggestions as to approaches to take to do this? Should I make a plugin that does a preg_replace or something on the page?
Offline
#527 2008-01-09 07:22:23
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
typeshige wrote:
Hopefully this hasn’t been covered recently. I’m trying to hide the pull downs for Category1 and Category2 when using this plugin.
I’m trying to train some users and I feel this will confuse them to see these.
Has anyone done this before? Or any suggestions as to approaches to take to do this? Should I make a plugin that does a preg_replace or something on the page?
use ied_hide_in_admin. works great for me
Offline
#528 2008-01-09 17:21:45
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
iblastoff wrote:
typeshige wrote:
Hopefully this hasn’t been covered recently. I’m trying to hide the pull downs for Category1 and Category2 when using this plugin.
I’m trying to train some users and I feel this will confuse them to see these.
Has anyone done this before? Or any suggestions as to approaches to take to do this? Should I make a plugin that does a preg_replace or something on the page?
use ied_hide_in_admin. works great for me
Thank you! It does exactly what I wanted and more!
Offline