Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#193 2005-04-19 23:47:19

Romuald
Archived Plugin Author
From: France (69)
Registered: 2005-03-01
Posts: 20
Website

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

Is it possible to get localisation for date ?

I’ve modded the plugin to get this result : [url]http://ckkoshi.free.fr/index.php?s=archive[/url]
That’s not really clean.. But I need the <h3> tags.

Nice plugin !

Offline

#194 2005-04-20 00:34:36

Romuald
Archived Plugin Author
From: France (69)
Registered: 2005-03-01
Posts: 20
Website

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

tags < h3>, I can’t edit my post.

Offline

#195 2005-04-20 00:46:12

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

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

The latest version of the plugin does allow for localized date formats. The older versions that still run on RC1 do not.

Offline

#196 2005-04-20 01:58:51

Romuald
Archived Plugin Author
From: France (69)
Registered: 2005-03-01
Posts: 20
Website

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

The html output is not Semantic (too much class/div), and I didn’t found how to change local time. :D

Offline

#197 2005-04-20 03:10:44

kennethlove666
Member
From: arkansas
Registered: 2004-04-27
Posts: 107
Website

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

btw, my problem was fixed by removing/deactivating sgb_error_docs. sgb_url_handler doesn’t seem to interfere at all, and adding zem_rewrite didn’t help, either.


Listen to Kenneth

Offline

#198 2005-04-20 04:22:39

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

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

Anybody ever wrestle with having search links not working with rss_suparchive?

The problem is that I’m using the rss_suparchive tag to display results for the “news” page (from the rss_suparchive_menu), so txp:article isn’t available. The search results require the txp:article tag, of course and the search result URLs take the default form of /section/id/title which don’t mean much to rss_suparchive.

My guess is that the solution is to have some conditional that will load the rss_suparchive or article tag based on some criteria, but I can’t think of what that would be.

Offline

#199 2005-04-20 13:05:26

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

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

kennethlove666, what is your URL scheme setup in zem_rewrite? I had to test with different orders quite a bit until all worked.

Offline

#200 2005-04-21 17:27:58

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

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

Anybody have any ideas regarding my previous post? I know someone must have solved this already.

Offline

#201 2005-04-21 17:34:08

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

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

aesop1 – 2 suggestions…

1) Check out the glx_if plugin. There’s a tag called glx_if_search that will tell you if you’re on a search results page.

2) Post your search form to a section called search. Then all you need in the main body of the page that is assigned to that section is <code><txp:article /></code> to display the results instead of displaying them in the news section.

As far as the URL’s generated by the search, thats a problem for me too. I’m using different URLs by section using mic_permlink and sbg_url_handler and my search results URLs are different than they are on the site. I wish I knew how to get around that without hacking away.

Last edited by wilshire (2005-04-21 17:34:47)

Offline

#202 2005-04-21 18:10:36

zoeglingjulian
Member
From: London, UK
Registered: 2004-12-23
Posts: 52
Website

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

@aesop1: from the RC3 announcement:

Added double conditional tag <txp:if_search><txp:else /></txp:if_search> to allow you to customise search results template and main page, even if both share the same template (kusor)

Last edited by zoeglingjulian (2005-04-21 18:12:11)

Offline

#203 2005-04-21 21:15:51

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

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

Thanks, Julian, Wilshire,

I got step 2 down, but I since I need to format search results (point to another section than my rss_archive page) I will need to follow Wilshire’s lead.

But your reminder about <code><txp:if_search /></code> is useful, Julian. I was still formatting the search results using the old kludge that Justin French came up with.

Matt

Last edited by aesop1 (2005-04-21 21:18:35)

Offline

#204 2005-04-22 07:17:48

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

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

Ok I finally got the form=”“ working.

Now I have another strange behaviour…

I’m calling the plugin with this :

<txp:if_article_list>
<txp:rss_suparchive_bycat section="article" showheader="1" headerlabel="Tous les articles" limit="99999" showcatcount="1" showmenu="1" form="articleMultiples" />

And for the result, I got :

div for the first category
form applied to article 1
form applied to article 2
form applied to article 3
ul
li with article 1 title
li with article 2 title
li with article 2 title

and so on.

Is this me or is this a bug ?

From my understanding, we should have :
ul for category
li with form applied to local article context
li with form applied to local article context
li with form applied to local article context and so on.

Or even better (but I guess that’s a feature request :p) the ul would be any tag (and id/class) we choose, and the form is applied for each article without any tag added; so we are able to control the output precisely.

Offline

Board footer

Powered by FluxBB