Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Although this is now part of the standard rss_suparchive download I’m kicking off a separate thread for it.
rss_suparchive_bycat will generate an article listing in the form of an unordered list and group them by category and optionally by section within each category. Through the use of the mdn_count plugin, the total number of articles in each category and/or section can also be displayed. It was initially developed for use on the Textpattern Resources category archive and you can see it in use there.
This listing also solves a few of the problems that have been noted with listing related articles. Now, as long as there is an article in the page scope, the related articles will be displayed. You can filter by category1, category2, or both depending on the option you specify. You can see this in use on the menu of an article page in the “also | see” menu on wilshire|one.
As always you can find updated documentation here
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
I’ve been looking for a better way to present my archives for a while and when I saw your “bycat” version I thought this was it. The problem is that it picks up from all sections. Is there any way of “limiting” the output just to those sections you want in the same way that you can in the original plugin?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Ditto theBombsite!
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Dually noted. Its in the works…
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Ta!
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
I added the ability to filter by section. The difference with this as compared to the rss_suparchive is that by default there is no section filter.
Sorted. :)
Last edited by wilshire (2004-12-10 20:38:28)
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Excellent. Exactly what I wanted. Now it throws a couple of problems at me. If I click on a category title link – that works fine. If I click on an individual article link – it takes me to the right page but throws me out of my CSS. The “back to the top” button is giving me this link:-
“http://thebombsite.com/rssCatArchive”
which, of course, results in a 404. I do use a style switcher and clean urls and wondered if there might be a problem conflicting with these but as the category title links work OK I think it is probably something else.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
whoops. minor error. i’m going on vacation tomorrow and won’t have time for another release, but its an easy fix. looks for this about 6 rows up from the bottom:
<code>
<a href=“rssCatArchive”>
</code>
And change it to this:
<code>
<a href=”#rssCatArchive”>
</code>
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Thanks. Tried that but found that you just need the “#” on it’s own. Have a good vacation. I’ll be waiting for you when you get back!!
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
one of the best plugins ever. :)
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Is there a way to exclude some categories from the list? You can specify the categories in rss_suparchive, but the parameter
categories=“cat1,cat2…”
Doesn’t seem to work with rss_suparchive_bycat.
Suggestions?
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Is there a way to limit the number of entries returned via this plugin? With something like:
limit=“5”
“This year, or this month, or, more likely, this very day, we have failed to practise ourselves the kind of behaviour we expect from other people.” — C.S. Lewis
Offline