Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#121 2005-03-29 00:51:12
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Boy, when it rains it pours. I guess this needs to be a case statement to handle the 3 options. I’m working on a new version so I’ll take care of this as well.
Offline
#122 2005-03-29 05:06:09
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Another new version that contains fixes and updates for new permlink and forms functions along with some new features.
Version 0.14
- Added form to suparchive_bycat to support the use of forms as in the standard suparchive tag.
- Added filtering by day in addition to year and month to rss_suparchive.
- Fixed timeframe filter.
- Permlink/forms updates.
This should fix the last few problems mentioned above.
Last edited by wilshire (2005-03-29 05:06:33)
Offline
#123 2005-03-29 10:34:23
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
wilshire, consider making “rssMenu” a class instead of an ID…? (I’m calling it twice on a page)
Offline
#124 2005-03-29 11:17:18
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Blimey Rob. You’re just rushing me now. Anyway I meant to mention this when I upgraded to 0.12 and forgot. Tut tut. I use the “bycat” part of this plugin but I noticed in the last upgrade and again in this one that in the “back to the top” link ie. “showjump” you have something like “rssCatArchive” in the href (I can’t be accurate as I’ve already removed it and can’t remember what it was). This just doesn’t work for me. It adds to the url in such a way that it assumes I have a section by that name which I don’t so I end up at the frontpage. (I am using clean urls.) I’ve simply replaced whatever it was with “#” and it’s now perfect.
Now to check out Quikpik. Again. :grin:
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#125 2005-03-29 14:27:00
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
ANY works great.
I think your problem Rob is that a “Super” archive is going to get used so much, we’ll never let you be done :)
Offline
#126 2005-03-29 17:05:25
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Thanks for adding the form attribute to rss_suparchive_bycat in version 0.14. You just made my world!
I did a bit of fiddling with the code for the rss_suparchive_bycat function to fix up the form attribute so that it behaves the same as rss_suparchive. The first line is a necessary fix. The rest is optional, but it keeps the extra divs from separating the <code><li></code> tags in my article form from the <code><ul></code> in my page template.
Necessary fix:
line 346: <code>if ($rs3 && !$showcatsonly && !$form) {</code>
Optional to strip divs:
line 284: <code>$out[] = (!$form) ? ‘<div id=“rssCatArchive”>’.n : ‘’;</code>
line 292: <code>$out[] = (!$form) ? ‘<div id=“rssCatList”>’.n : ‘’;</code>
line 375: <code>$out[] = (!$form) ? n.’</div>’.n.’</div>’.n : ‘’;</code>
After that, works perfectly!
Offline
#127 2005-03-29 17:54:16
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Cool. Thanks for that bauhouse. There’s so many ways to use the plugin its hard for me to test every possibility.
Offline
#128 2005-03-30 16:51:11
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
domfucssion –
If you’re still wondering, hu is defined in the /textpattern/index.php
<code>
define(“hu”,‘http://’.$siteurl.’/’);
</code>
Offline
#129 2005-03-31 21:20:48
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
wilshire, I put <txp:rss_suparchive sections="blog" /> on my page template. All I get is an empty dl. Is there anything else to do (apart from some styling, of course, but there’s nothing to style so far)?
I use zem_rewrite for permalinks.
Thanks for your help
Offline
#130 2005-04-01 00:20:46
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
The attribute is section not sections. If you change that it should work fine.
Offline
#131 2005-04-01 09:48:14
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Oh I see, then there’s a typo in the help file. You might want to fix that. I was wondering myself but since it said “sections” there I did it that way. Thanks.
Offline
#132 2005-04-01 09:49:14
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Ok, it works with “section”: Great, thanks.
Offline
#133 2005-04-01 10:02:03
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Sorry, another problen.
I now have a working archive menu with rss_suparchive_menu. But when I click on the months, no articles appear. Do I need a special URL scheme for this to work?
I use zem_rewrite for permalinks.
Offline
#134 2005-04-01 13:14:04
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
The intent behind the rss_suparchive_menu is to use it as a filter on an existing archive page that uses rss_suparchive or to use it as a menu to link to your archive section using linktosection=”“.
For example, on my site I have a section called archive that uses rss_suparchive. If I want to have a list of months only in that section I use <code><txp:rss_suparchive_menu /></code> and the permlinks would automatically use the current section. If I want to have the list of months throughout my site, I would use <code><txp:rss_suparchive_menu linktosection=“archive” /></code> and the permlinks would always direct me to the archive section.
Offline
#135 2005-04-06 16:35:47
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
I have been working on implementing several things on my weblog while trying to stay fairly close to the Blix theme for WordPress.
So far, things are working well, if a little oddly.
The main page is being displayed with the default template.
The code is wrapped in txp:glx_if_frontpage tags and works correctly.
ex: http://www.libraryplanet.com/
The category archives are also being displayed with the default template.
They are wrapped in txp:glx_if_category_list tags.
ex: http://www.libraryplanet.com/?c=Wireless
Individual entries are being displayed using the archive template.
ex: http://www.libraryplanet.com/2005/04/05/wireless
The problem I am having is with the date archives like http://www.libraryplanet.com/2005/04/05/. They are using the default template (which is fine) but I would like to change the way the articles and sidebar display.
Does anyone have an idea what condition I could test for to customize those pages?
Last edited by michaelkpate (2005-04-06 16:39:22)
Offline