Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#313 2005-08-17 13:40:29

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

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

Okay, using a form I can get rid of the divs/classes/ids on everything but the headerlabel it still gets wrapped by a div with an id.

Wouldn’t you know it, I overlooked the form attribute. Is there a way to get rid of the div wrapping the headerlabel?

Offline

#314 2005-08-17 13:46:31

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

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

Using the form attribute also got rid of the unclosed divs because I am no longer using divs in the form. It is still something to be looked at though if you use the default formatting without a form.

Thanks for the great plugin wilshire.

Offline

#315 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

#316 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

#317 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

#318 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

#319 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

#320 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

#321 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

#322 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

#323 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

Board footer

Powered by FluxBB