Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2011-01-18 20:01:46

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Need to display different categories with articles inside on one page

Anyone want to make quick 15€?
Will transfer through PayPal any time.

Can’t wrap my mind around it myself.

Just need the code above to work with “rss_unlimited_categories” (or is there any better option?).

Offline

#14 2011-01-18 20:16:22

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Need to display different categories with articles inside on one page

ricoschette, you’d better post in the plugin thread then, because over there your post will be noticed by people who are familiar with the plugin sooner than here.

Offline

#15 2011-01-18 20:54:02

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Need to display different categories with articles inside on one page

ricoschette

You probably have this part down, but just in case it helps —

unlike a lot of plugins that replace the regular txp tags with their own version, and extra features, rss_unlimited_categories is not a 1 for 1 replacement of txp:category tags.

rss_unlimited_categories creates a parallel category data set. (i.e. it uses its own database table of categories instead of txp’s categories.) You will need to re-create your categories in rss_uc and then associate your articles accordingly.

Thus, the txp:category tags cannot access the rss_uc data. And visa-versa. rss_uc tags can’t access txp:category data. I’m not positive, but would expect this to be true of the conditionals (txp:if_category), which would be looking in the txp:category data.

There are some comparable tags, but, again, as you probably know, they are not interchangeable, and IIRCC, not every txp:category tag has a rss_uc counterpart. (Example, I don’t think there are rss_uc conditionals, but I could be mistaken).

rss_unlimited_categories_article_list will help recreate the lists you are after, and has a section attribute as well (you mentioned that in previous post). So I’m guessing that will be the workhorse in what you are trying to accomplish.

fwiw, smd_tags is sort of 1/2 way between rss_unlimited_categories, and tru_tags. Tags can be associated to txp:categories. Perhaps it might be an alternative if rss_uc can’t do what you are after . . . .

Offline

#16 2011-01-19 08:52:40

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Need to display different categories with articles inside on one page

Thanks for advice!

I will post the offer to the plugin section, but it looks like rss_uc topic is pretty much dead.

I am aware of that rss_uc is different and I can’t replace it with txp:category tags directly.
Thanks maverick for good tips!
I will check smd_tags out.

Offline

Board footer

Powered by FluxBB