Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#205 2005-04-24 21:34:09
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
I have a question: Shouldn’t “offset” be one of those properties one can use when using forms? I tried it but the plugin doesn’t output anything.
It would be really helpfull if this would be possible.
Offline
#206 2005-04-25 12:04:25
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Jeremie – if you’re using forms you shouldn’t get any ordered list output. Everything should be handled by the form. As the revisions progress the problems with forms support in this plugin seem to change so I’m going to wait on 1.0 to iron it out.
jelveby – If you could post an example of what you’re trying to do that would help.
Offline
#207 2005-04-25 12:43:14
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
I do get both the output, the classic one (the list) and the one by the form.
How do you “handle everything” in the form by the way ? How can the form parse every article in the context of that loop, and act on it ?
Offline
#208 2005-04-25 13:47:05
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
> wilshire wrote:
> jelveby – If you could post an example of what you’re trying to do that would help.
OK, I’ve been trying to post the code, but I actually don’t know how.
Could anyone be so kind as to tell me how?
Last edited by jelveby (2005-04-25 13:48:40)
Offline
#209 2005-04-26 12:27:47
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
You can post it inside html < code > tags.
Offline
#210 2005-04-26 12:59:34
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Textile works on the forum, so each line inside arobase would do it too.
Offline
#211 2005-04-26 21:12:58
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Ok, here’s the plugin code I’m trying to use:
<code>
<ul>
<txp:rss_suparchive section=“journal,kreativitet” limit=“5” form=“recent” offset=“3” />
</ul>
</code>
And here’s what the form “recent” looks like:
<code>
<li><txp:permlink><txp:title /></txp:permlink><txp:posted /></li>
</code>
It works, as long as I don’t use the “offset” property.
Offline
#212 2005-04-27 11:58:08
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
Rob, I wrote you a mail whilst the forum was down for renovations but will try here in case others have a suggestion.
suparchive 0.14 corrects the timeframe problem with “ALL” for rss_suparchive but not (yet) for suparchive_bycat.
I tried taking the <code>switch ($timeframe)…</code> code solution from rss_suparchive and inserting it into suparchive_bycat in place of the two lines <code>$posted= ($timeframe …;</code> and <code>$posted= isset($posted) ? $posted : “”; </code> with some degree of success.
With timeframe=“ALL”, the output from suparchive_bycat is now fine as long as articles exist in the past AND future in that particular category. When all the articles in a particular category are only in the future, suparchive_bycat outputs no entries in that category at all, though it will list other categories. It seems to output all categories with articles only in the past.
I probably forgot to bring across another part of the code. Any suggestions?
TXP Builders – finely-crafted code, design and txp
Offline
#213 2005-04-27 12:20:23
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
jelveby – I’ll have to take a look at that.
jakob – I never got a mail but it looks like what you’ve done is correct. When you set the timeframe to all there is no filtering based on the posted date so it shouldn’t care whether all of your articles are in the future or not. Seems odd. If you can echo the where clause of the sql thats running it might give you an idea of the problem.
Offline
#214 2005-05-01 08:40:39
- amobea
- New Member
- Registered: 2004-07-13
- Posts: 2
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
I’m using superarchive v0.8 under rc1
and subdateformat isn’t working – i’m assuming because it wasn’t brought in till a later version
is there a way i can get it working in v0.8 ?
Offline
#215 2005-05-01 16:47:50
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
I believe there was a minor typo that was causing the subdate to break in some past versions. If you scan back through this thread you should find the fix.
Offline
#216 2005-05-02 03:51:57
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
As promised, version 0.15 including a whole lot of updates. Each of the tags in the plugin has its own new home that you can find in my textpattern plugins section.
Version 0.15
- Added formwraptag, addbreak, showdate, dateformat, datesep, showexcerpt, showauthor, authorsep to suparchive_bycat.
- Added support for date filtering to suparchive_bycat.
- This plugin is no longer dependent on the mdn_count plugin.
- Fixed jump to link on suparchive_bycat.
- Current article removed from related list using suparchive_bycat.
- Fixes for form usage on suparchive_bycat.
- Changed rssMenu id to a class.
- Documentation fixes.
Offline