Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#256 2005-06-05 02:13:12

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

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

[UPDATE] – Just a quick update on my post above. I have installed zem_debug and am happily getting an error reported:
<code>Error 8 Undefined variable: output in rss_suparchive(), /home/usr/public_html/textpattern/lib/txplib_misc.php(352) : eval()’d code line 232</code>
Got any ideas?

SH

Last edited by Vitruvius (2005-06-05 02:14:11)

Offline

#257 2005-06-05 02:40:04

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

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

[UPDATE 2] – my goodness me – I found it. Someone once said that the problems that take the longest to debug often have the simplest of solutions (not sure who that was…)

Anyway – the thing that threw me was the plugins defaulting to section=“article”. This is a section that I routinely delete as one of the first things I do when installing TXP :)

Sorry for the excesss fluff in this thread – esp as on sitting down and reading the thread from pg 1 to here I found that it had been noted already!

Maybe plugin should default to ‘any section’ or would that present other problems?

SH

Offline

#258 2005-06-09 13:42:16

heimar
New Member
From: ebonia
Registered: 2004-11-03
Posts: 6

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

Great plugin. But is there a way to localize dates?


thank you, Jebus!

Offline

#259 2005-06-09 13:47:43

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

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

The only way right now for the posted dates on the article listing is to use your own article form.

For the months, check one of the first few pages of this thread. I remember someone posting about how they localized the month names.

Offline

#260 2005-06-09 22:05:12

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

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

Feature Requests below:

  1. 1. I would like it to output the category title not the category name in rss_superarchive_bycat
  2. 2. I would like to be able to change all the wraptags like in rss_superarchive_bycat the div that gets wrapped around the category names I would like to be able to change it to an h3 tag.
  3. 3. Also I would like to be able to remove the ids and classes by something like id=”“ class=”“.
  4. 4. Clean url friendly on category links instead of /?c=eu-constitution. Do something like this /category/eu-constitution

Last edited by tinyfly (2005-06-09 22:10:41)

Offline

#261 2005-06-10 14:28:31

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

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

Could somebody give me an example of how to use the form attribute with the rss_superarchive_bycat? Also, could someone show me how to alter the code of rss_superarchive_bycat to display the category title and not the category name?

Last edited by tinyfly (2005-06-10 14:42:58)

Offline

#262 2005-06-10 16:30:57

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

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

Global section? I know I’m trying to use this for something unintended, but anyway to get a global in there?

rss doesn’t get parsed if I use <code><txp:s /></code>

Last edited by soulship (2005-06-10 17:28:27)

Offline

#263 2005-06-10 16:58:44

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

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

Form Example

Jamie – at the top of the plugin, change this:
<code>
$section = isset($section) ? $section : “article”;
</code>

to this:
<code>
$section = isset($section) ? $section : $s;
</code>

Last edited by wilshire (2005-06-10 17:01:01)

Offline

#264 2005-06-10 17:04:30

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

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

Thanks wilshire but I meant to say an example of the actual form and what tags are allowed.

Also, would it be possible to give me some code so I can change the plugin to use the category title? I sure can’t figure it out.

Offline

#265 2005-06-10 17:12:50

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

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

The form is just a standard article form. You can use all of the same fields or plugins that work with articles.

The change to use category title is not a trivial one. Someone else asked about it as well, I thought I had a quick fix for it and it didn’t work. I just don’t have the time to work it out at the moment but I’m sure I will at some point.

Offline

#266 2005-06-10 17:36:47

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

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

Thanks Rob works perfect. That was my first thought, but I figured I better check before poking around under the hood :)

Offline

#267 2005-06-10 20:48:17

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

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

> hokchun wrote:

> Dear folks,

  1. May 2005 (7)
  2. April 2005 (5)
  3. March 2005 (4)

——-

Can you show me How you got it to display like this?

Update: Never mind rss_superarchive_menu, doh!

Last edited by tinyfly (2005-06-10 21:17:16)

Offline

#268 2005-06-11 19:29:46

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

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

Pardon me for asking if this has been answered already, but…

Is there a way to list out recent articles by section, and not category or date?

Offline

#269 2005-06-12 14:33:50

nicklas
Member
Registered: 2004-04-13
Posts: 12
Website

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

Great plugin, would be much better if the offset worked though. As soon as the offset-tag is used there’s no output whatsoever.

Offline

#270 2005-06-15 15:18:26

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

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

In a textdrive forum, Zem asserts that article_custom can be used instead of rss_suparchive in many cases. I think it would be great to have a “best practices” series of examples stating when rss_suparchive should be used and when article_custom should be used instead. I think both have their applications.

Offline

Board footer

Powered by FluxBB