Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
It may already be possible to do this, if so, how?
Section = Engine Parts
Category = Air Filters
Sub Category = Many
When I go to the Air Filters category I want to have a list of the Sub Categories of Air Filters displayed (NOT all the articles belonging to the parent Air Filters. Clicking on one of these Sub Categories will then take me to a page listing ONLY the articles that belong to that Sub Category
Any help appreciated very, very much!!
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Nope, its not possible, sorry.
The plugin doesn’t deal with sub-categories at all.
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Ok, well, you might be able to do something close. It took someone reminding me of what you can do with the plugin.
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Yeah, but subcats you would really still have to fake a little bit through the ul/li listing. This can work, I have done it with an older version of the plugin, but I could’nt tell you how off the top of m head other than with a buch of time tinkering with the way the navigation was displayed. I will look and see if I have an old version of a clients site that subcats was working on and get back.
EDIT:
I cant find the form I was using, it has been deleted. I had it so that it was outputing subcats though, I wish I could find it for you ‘cause it took a good bit of time to get it just right. Sorry.
Last edited by soulship (2005-05-12 19:45:51)
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Doh! Thanks for your help fellas! Time is short on this one so i’m going to tinker a little while longer before I may have to consider other options (wp). :(
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
What rev# are you using? If you are pre344 (actually it may be rc1 not sure) you might want to look at stw_category_tree. I have another site that subcats are working on using that plugin. Again it is really tied to the css. It is working as a click on cat and subcats are revealed. Again you have to have at least one article in each subcat for it to display though.
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Thanks Soulship, i’ll give that a go!
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
This is a wonderful plugin. Thank you so much for the hard work you’ve put into it. :)
I do have one question, however. Is there a possibility to separate the markup from the actual plugin?
I have taken a peek into the php code and it has quite a few rss css classes hardcoded into it. Is there a way I can completely turn that off? Or would I have to modify the plugin itself and remove these classes manually? I have no clue about php, so I’m a bit cautious with playing around with the plugin code.
Thanks in advance,
Maleika
EDIT: I managed to remove all the css markup from the plugin code. Seems to have worked. :)
Last edited by Maleika E.A. (2005-05-16 00:42:12)
Offline
#45 2005-06-21 22:34:22
- Moondreamer
- New Member
- Registered: 2004-09-18
- Posts: 3
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
There are some problem with the timeframe option. None off the switches are working! I hope someone has a solution!
<span class=“archivemenu”>Menu</span>
<txp:rss_suparchive_bycat showmenu=“1” showjump=“1” jumplabel=“Tilbage tip toppen” timeframe=“FUTURE” section=“events” />
What wrong here ….
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Hey Wilshire!
I really like this one! The only problem I see is when I use rss_suparchive_bycat twice on a site. Both instances will get the id rssCatArchive which is not allowed becaus in XHTML IDs have to be unique. Is there any possiblity to get my code valid again?
Thanks in advance,
Boris
Offline
#47 2005-08-09 13:49:17
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Is there a way not to link the category and just the articles?
Thanks
Lee
Offline
Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category
Boris – This does seem to be a problem. I thought I had changed that to a class but appears not. If you can track down these two lines:
<code>$out[] = (!$form) ? ‘<div id=“rssCatArchive”>’.n : ‘’;
$out[] = ($showheader) ? ‘<div id=“rssCatArchiveHeader”>’.$headerlabel.’</div>’.n : ‘’;</code>
You can change the id to a class.
lee – If you set showcats=“0” it will not show the category headers. If you’re looking to show the headers, just without the link, thats not possible without changing the code.
Offline