Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#145 2005-04-07 15:09:12

jenniferg
New Member
Registered: 2005-01-10
Posts: 8
Website

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

I have a question about the use of images associated with the archive heading. I have a magazine that is about to go into its first print issue but it will be the second online issue and we need to archive the articles there now. They are in numerous sections but if I am correct, which I often am not, your plugin will allow me to create a category like “Issue_0” and assign all the articles related to that issue into that category and it should allow me to output them in an archival list under “Issue 0” right? Please say, right.

Second. There is a small graphic that is basically a thumbnail of the cover of each issue and I was wondering if I could use it for each archive list. If I put it in a form can I do this? Is it even possible what I am talking about. If so what would it look like just a basic form? Would it be an article form or a misc?

Any help would be greatly appreciated.

Offline

#146 2005-04-07 15:21:55

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

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

1) Yes, you can do this using the rss_suparchive_bycat tag.

2) Each category header is placed in a div that has an id based on the category name. For example, if you had a category called textpattern the code would start with <code><div id=“c_textpattern”</code>. You could then style that div with a background image. If that didn’t work for you there isn’t really another way I can think of.

If you want to use a form you would use an article form. But the form is used once for each article so if you put an image in your form you’d see it once for each article.

Hope that helps…

Offline

#147 2005-04-07 16:32:36

jenniferg
New Member
Registered: 2005-01-10
Posts: 8
Website

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

ok, I am following you there. Thanks alot, I will give it a whirl.

Offline

#148 2005-04-07 16:39:16

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

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

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

Sorry, forgot to space the tags:

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

Offline

#149 2005-04-09 20:24:11

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

Rob, I’m looking at using rss_superarchive to call the last 4 excerpts which happen to be thumbnails as this is a photoblog. I would like to use “timeframe” to show the 4 excerpts prior to the current article date. Is there any way of changing the call to “NOW” to pick up the current article date instead. There is only one article per page.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#150 2005-04-11 16:54:39

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

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

Well, I realized I was using .12, so I upgraded to .14. The only change, however, was the line number in the error:

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

Offline

Board footer

Powered by FluxBB