Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#131 2005-04-01 09:48:14

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

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

Oh I see, then there’s a typo in the help file. You might want to fix that. I was wondering myself but since it said “sections” there I did it that way. Thanks.

Offline

#132 2005-04-01 09:49:14

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

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

Ok, it works with “section”: Great, thanks.

Offline

#133 2005-04-01 10:02:03

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

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

Sorry, another problen.

I now have a working archive menu with rss_suparchive_menu. But when I click on the months, no articles appear. Do I need a special URL scheme for this to work?

I use zem_rewrite for permalinks.

Offline

#134 2005-04-01 13:14:04

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

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

The intent behind the rss_suparchive_menu is to use it as a filter on an existing archive page that uses rss_suparchive or to use it as a menu to link to your archive section using linktosection=”“.

For example, on my site I have a section called archive that uses rss_suparchive. If I want to have a list of months only in that section I use <code><txp:rss_suparchive_menu /></code> and the permlinks would automatically use the current section. If I want to have the list of months throughout my site, I would use <code><txp:rss_suparchive_menu linktosection=“archive” /></code> and the permlinks would always direct me to the archive section.

Offline

#135 2005-04-06 16:35:47

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

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

I have been working on implementing several things on my weblog while trying to stay fairly close to the Blix theme for WordPress.

So far, things are working well, if a little oddly.

The main page is being displayed with the default template.

The code is wrapped in txp:glx_if_frontpage tags and works correctly.

ex: http://www.libraryplanet.com/

The category archives are also being displayed with the default template.

They are wrapped in txp:glx_if_category_list tags.

ex: http://www.libraryplanet.com/?c=Wireless

Individual entries are being displayed using the archive template.

ex: http://www.libraryplanet.com/2005/04/05/wireless

The problem I am having is with the date archives like http://www.libraryplanet.com/2005/04/05/. They are using the default template (which is fine) but I would like to change the way the articles and sidebar display.

Does anyone have an idea what condition I could test for to customize those pages?

Last edited by michaelkpate (2005-04-06 16:39:22)

Offline

#136 2005-04-06 16:50:18

uire
New Member
Registered: 2005-02-09
Posts: 4

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

Recieving the following error:

Notice: Undefined variable: count in C:\src\txp_bccs\textpattern\lib\txplib_misc.php(304) : eval()’d code on line 565

Using rc3:

<txp:rss_suparchive section=“athletics” category=“middle school” />

Most likely a stupid error on my part.
Thanks.

Offline

#137 2005-04-07 00:18:58

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

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

michael – You could always display the date based archives in the archive section [http://www.libraryplanet.com/archive/2005/04/05/] so that you could use a different template.

uire – Can you tell me which tag you’re using and how you’re calling it?

Offline

#138 2005-04-07 00:55:44

Anark
Member
Registered: 2004-08-14
Posts: 101

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

Wilshire — this may be pie in the sky, but let me ask anyway:

Would it be possible to structure the categories, for example by introducing sub-categories? I’d like to display entries by country, yet I don’t want to scatter the country names throughout the other categories. It would be great to have a Country category and then list all the individual countries as sub-categories…

Offline

#139 2005-04-07 03:09:07

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

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

> wilshire wrote:

> michael – You could always display the date based archives in the archive section [http://www.libraryplanet.com/archive/2005/04/05/] so that you could use a different template.

Wilshire,

I would love to, but the URLs don’t seem to work for some reason. Compare the results of http://www.libraryplanet.com/archives/2005/04/ with http://www.libraryplanet.com/2005/04/.

I noticed this problem seems to be unique, but I haven’t figured out why. I even hacked rss_suparchive_menu to remove the section element.

Offline

#140 2005-04-07 03:09:18

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

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

> wilshire wrote:

> michael – You could always display the date based archives in the archive section [http://www.libraryplanet.com/archive/2005/04/05/] so that you could use a different template.

uire – Can you tell me which tag you’re using and how you’re calling it?

Offline

Board footer

Powered by FluxBB