Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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,379
Website GitHub Mastodon

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,379
Website GitHub Mastodon

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,379
Website GitHub Mastodon

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

#141 2005-04-07 03:09:27

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

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

#142 2005-04-07 03:31:53

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

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

Michael – When I go to http://www.libraryplanet.com/archives nothing shows up either. I would expect for a full archive to appear there. Then adding 2005/04 to the URL would add the filter for April 2005. Do you have the rss_suparchive called on the page that your archives section uses? And are you using the latest version, 0.14?

Offline

#143 2005-04-07 13:09:46

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

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

Updated to the latest, but there appears to be a bug in the timeframe logic when used with filtering.

whether I explicitly set timeframe=“PAST” or let it use the default, it will display all articles. I have a few post dated articles which have shown up in the filtered list, but not the unfiltered one.

Offline

#144 2005-04-07 13:43:06

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

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

What do you mean when you say “when used with filtering”? Can you post how you’re calling the plugin?

Offline

Board footer

Powered by FluxBB