Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#121 2005-03-29 00:51:12

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

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

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

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.

rss_suparchive

Download

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

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

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

mkarolow
New Member
From: Salem, Ma, USA
Registered: 2004-09-26
Posts: 9
Website

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

bauhouse
Archived Plugin Author
From: Abbotsford, BC Canada
Registered: 2004-06-29
Posts: 68
Website

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

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

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

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

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

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

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

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

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

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

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

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Ok, it works with “section”: Great, thanks.

Offline

Board footer

Powered by FluxBB