Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#316 2005-08-17 13:51:39

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

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

webreakstuff – I believe showcount only works in rss_suparchive_menu not rss_suparchive. Look through the help and you will see the attributes separated under their corresponding tag (of which there are 3) in the plugin.

Last edited by tinyfly (2005-08-17 13:51:54)

Offline

#317 2005-08-17 15:20:12

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

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

Sorry for the multiple posts but using rss_suparchive_bycat for related articles when no articles match my headerlabel still outputs and I get the following error: <code>Warning: join() [function.join]: Bad arguments. in D:\dev\sites\eteam\public_html\textpattern\lib\txplib_misc.php(429) : eval()’d code on line 378</code> only when there are matching articles does this error go away.

Offline

#318 2005-08-18 05:48:08

mir
New Member
From: montreal
Registered: 2004-06-16
Posts: 6
Website

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

Hi there,

I am having this nifty problem using the RSS-superarchive_bycats . I want to parse the same info using two cats (in two different places of course) and one list will be generated via the 2nd category only.

whenever I try using these;

< txp:rss_suparchive_bycat useartcats =” 1 “ useartcats1=” 0 “ useartcats2=” 1 “ section=” Who-are-we “ form=” bios “ showcatcount=” 0 “ linktosection=” Who-are-we “ />

it doesn’t work. I get the same info twice, once under each category ? what am I doing wrong please ?

I have a suspicion that it has something to do with this part of the plug-in;

if ** ( $useartcat1 || $useartcat2 || $useartcats) ##too many pipes here## { $ca = safe_row(‘category1, category2’, ‘textpattern’, ‘id=’.$id); extract( $ca ) ;
}

$catsql = ( $useartcat1 ) ? “ AND name = ‘“.$category1.”’ ” : “”;
$catsql.= ( $useartcat2 ) ? “ AND name = ‘“.$category2.”’ ” : “”;

if ( $useartcats ) { #unhappy little OR down there##
$catsql = “ AND ( name = ‘“.$category1.”’ OR name = ‘“.$category2.”’ ) “;
}

but it’s not my best area of expertise, so any advice on how to modify the plug-in or my mark-up would be greatly appreciated

Offline

#319 2005-08-18 13:18:29

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

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

mir, I think you should only use one of the useartcats that corresponds to the output you want.

If you want to parse using:

  • both categories use useartcats=“1”,
  • only category1 use useartcats1=“1”
  • only category2 use useartcats2=“1”

Only use one of these in the rss_suparchive_bycat tag, not all three of them.

Offline

#320 2005-08-18 13:49:08

mir
New Member
From: montreal
Registered: 2004-06-16
Posts: 6
Website

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

hmm… I tried that too, Just after I posted to the forum, still no result. Or a result, but not the one I wanted.

Is this a version problem perhaps? I just upgraded to 4.0

Offline

#321 2005-08-22 17:08:26

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

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

My date-based (rss_suparchive) archives aren’t working since I upgraded to TXP 4.0. Anybody else getting this to work?

Offline

#322 2005-08-22 23:08:44

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

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

Can you add the option to sort descending and ascending (like in article_custom)?


bludrop studios .::. Creative Expression

Offline

#323 2005-08-23 13:03:54

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

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

aesop1, it is working fine for me with txp 4.0.

Offline

#324 2005-08-30 16:58:29

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

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

I still have the problem of the headerlabel text showing up even if no articles match in rss_suparchive_bycat useartcat2=“1”. I think that the label should not show up if there are no articles to show.

Wilshire – Can you show me how to change this?

Offline

#325 2005-09-06 08:39:13

RHD
Member
From: mid-Atlantic US
Registered: 2004-11-09
Posts: 29
Website

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

Is it possible to rig suparchive to display a custom field like it displays excerpts?

Here’s what I have:

Month, Year
- Day: Post title
- Day: Post title
Month, Year

etc.

Here’s what I want:

Month, Year
- Day: Post title
------- One-sentence summary
- Day: Post title
------- One-sentence summary

etc.

Does that make any sense? I can do exactly what I want if I use the showexcerpt attribute, but I can’t use the excerpt field because I’m already using that for lead-ins for long posts. Instead I’m using a custom field for my summaries.

Thanks.

Last edited by RHD (2005-09-06 08:49:10)

Offline

#326 2005-09-06 13:16:37

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

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

Wilshire – Can you make your plugin compatible with the new error handling, 404, in the upcoming txp 4.0.1? They added a way to call the 404 function so you can have custom URIs like your plugin uses. Otherwise I get a not_found error when I try to sort by date.

Offline

#327 2005-09-06 13:27:44

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

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

> tinyfly wrote:

> Wilshire – Can you make your plugin compatible with the new error handling, 404, in the upcoming txp 4.0.1? They added a way to call the 404 function so you can have custom URIs like your plugin uses. Otherwise I get a not_found error when I try to sort by date.

I am experiencing the same problem at CMS Styles.

Offline

#328 2005-09-08 15:27:02

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

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

Wilshire, any word on the 404 issue?

Offline

#329 2005-09-08 17:34:51

jdykast
Member
From: Tennessee
Registered: 2004-12-30
Posts: 119
Website

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

Has anyone noticed an issue using rss_superarchive and its “form” attribute? The plugin works like a champ without it but when I add it to the mix the article won’t load. I’m using Textpattern 4.0.1 and rss_Superarchive 0.15.1. Below is an example of both the working and non-working tag:

Works:
<code><txp:rss_suparchive section=“ministries” limit=“5” /></code>

Doesn’t:
<code><txp:rss_suparchive section=“ministries” limit=“5” form=“lofi” /></code>

Last edited by jdykast (2005-09-08 22:50:49)

Offline

#330 2005-09-08 22:47:29

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

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

If I remember correctly, the form attribute never really worked. I think Rob was waiting on a solid final release before implement it. But indeed it would be quite nice and needed to have a rss_suparchive & rss_suparchive_bycat with form capability.

Offline

Board footer

Powered by FluxBB