Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-21 21:17:43

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

[plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Important notice: Textpattern forum member makss has patched this plugin several times and improves and keeps it updated regularly. You can get his version on his website.

Current version is said to be not working with the current development version 4.6 of Textpattern (as of 2015_05_05)

Original post

The rss_unlimited_categories enables the assignment of an unlimited number of categories to each article so that you’re not limited to the default number allowed by Textpattern (2) as I originally outlined here.

The plugin will add a multiple select list to your article -> write tab to enable the selection of unlimited categories. The category/article relationships are stored in a new table that is created by the plugin. It also includes several public side tags to display the categories and list articles by category.

The collection of public site tags include:

rss_unlimited_categories_filedunder – Lists all categories assigned to the current article.
rss_unlimited_categories_cloud – Displays a weighted list of all categories as a tag cloud.
rss_unlimited_categories_list – Displays a list of all categories with the number of posts in each.
rss_unlimited_categories_article_list – Lists articles by category. This is an unlimited category aware replacement for the standard Textpattern article list tags.
rss_unlimited_categories_related – Lists related articles by category. This is a replacement for the standard Textpattern related article tag that uses the unlimited category tables instead of the standard Textpattern category 1 and 2 fields.

Details and Docs – working archive link: Details and Docs

Overview and Examples

Download v0.7.3

Unofficial fix for txp 4.4.1 by ruud

Moderator’s annotation:
Edited to add further note.
– Uli –

Updated link to makss website from http://textpattern.org.ua/patches/rss_unlimited_categories to http://makss.uaho.net/plugins/rss_unlimited_categories
– michaelkpate –

Last edited by michaelkpate (2016-05-14 16:35:33)

Offline

#2 2006-01-21 21:28:35

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Oh very nice Rob. Who’s a busy boy then?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2006-01-21 21:30:09

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Brilliant. TxP just got even better.

Offline

#4 2006-01-21 22:05:17

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Very Tasty!

Offline

#5 2006-01-22 00:52:31

shafina
Member
From: pj, malaysia
Registered: 2006-01-04
Posts: 17
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

very very cool, thank you. i will try this out tonight! ;-)

Offline

#6 2006-01-22 03:39:05

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

This is excellent Rob!
Thanks heaps…


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#7 2006-01-22 08:21:01

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

this is wonderfully cool rob!!!


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#8 2006-01-22 12:05:54

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Wonderful! Thank you!!

Z-

Offline

#9 2006-01-23 00:51:17

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

wow. that looks great.

Offline

#10 2006-01-23 14:49:52

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Thanks everyone for the compliments.

TaeWoo – Thanks for pointing that out. My code inadvertently worked only for /section/ID/title URLs. The v0.1 download is updated.

Offline

#11 2006-01-24 00:42:12

jmuspratt
Member
From: Nashville, TN
Registered: 2004-10-27
Posts: 54
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Nice work Rob! Hope this isn’t too off-topic, but I have a question. How do you control the output of the category URLs? Is it just like the old way, with <txp:if_category>? For some reason I have always had trouble with category pages in Textpattern.

I am trying to implement this for an (as yet unstyled) photoblog template I am working on. Articles are posted to the “archive” section, with the most recent (limit=“1”) appearing on the front page (display on front page = yes). My archive page template simply uses <txp:if_individual_article> and <txp:if_article_list> to display permalinked articles and thumbnailed links to them, respectively.

This is a pretty standard setup. Now I’ve got your plug-in outputting the appropriate category links (using linktosection=“archive”). Everybody always says that clean category URLs use the default section’s page template, so I tried using <txp:if_category> on that page so that those links would output linked thumbnails, like the archive root page. Can you see why I’m getting 404’d on all of them? I’m stumped.

My default page template:

<code>

< txp:if_category>
<body id=“archives”>
<div id=“top”>
< txp:output_form form=“header-nav-form” />
<ul id=“allcats”>
< txp:rss_unlimited_categories_list linktosection=“archive” break=“li” />
</ul>
<h3>Photos filed under < txp:c /></h3>
<ol id=“photothumbs”>
< txp:article form=“archive-form” />
</ol> <!— end photothumbs —>
</div><!— end top —>

<txp:else />

<body id=“current”>
<div id=“top”>
< txp:output_form form=“header-nav-form” />
< txp:article limit=“1” />
</div><!— end top —>

< /txp:if_category>

</body>
</html>
</code>

Last edited by jmuspratt (2006-01-24 12:52:32)

Offline

Board footer

Powered by FluxBB