Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#205 2005-04-24 21:34:09

jelveby
Member
Registered: 2004-12-15
Posts: 11
Website

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

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

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

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

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

jelveby
Member
Registered: 2004-12-15
Posts: 11
Website

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

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

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

You can post it inside html < code > tags.

Offline

#210 2005-04-26 12:59:34

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

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

Textile works on the forum, so each line inside arobase would do it too.

Offline

Board footer

Powered by FluxBB