You are not logged in.
rbl – Have you tried to echo the query (or the where clause) for the queries that you’re running? If you can do that it would help me know where to look.
steventer – The latest version of the plugin is out and it will exclude the current article from the related listing.
Offline
You mean like running a query in phpMyAdmin?
Offline
I’m not sure how familiar you are with PHP but what I mean is to output the query to the screen so you can see whats being run. You could then take that and run it in phpMyAdmin to see if you get any results. The query itself might help to show what the problem is too.
Look for a line near the bottom of the plugin that start with <code>$rs3 = safe_rows(”</code>. Right before that line, add a line that reads <code>echo $scsql;</code>. When you reload your page, the where clause for the sql will be displayed on top. See if anything stands out as blantly incorrect. Email me or post the results if you want me to take a look.
Offline
If there are no results, the clause does not appear. Here’s the output of one of the pages where there are results:
id <> 26 AND (category1 = ‘Iluminação’ or category2 = ‘Iluminação’) AND ( (section = ‘produtos’) ) AND status=4 AND posted < now() ORDER BY section, posted desc LIMIT 999999999
btw, when there are no results, div id=“rssCatArchive” is not closed, breaking all my layout.
Last edited by rbl (2005-05-02 16:59:50)
Offline
> wilshire wrote:
steventer – The latest version of the plugin is out and it will exclude the current article from the related listing.
You’re an absolute star! Thanks so much — this plugin is a “must have” and now it just got better!
Offline
Wilshire, there is a bug in the last version, with showexcerpt. The excerpt is not parsed by Textile.
Offline
It may already be possible to do this, if so, how?
Section = Engine Parts
Category = Air Filters
Sub Category = Many
When I go to the Air Filters category I want to have a list of the Sub Categories of Air Filters displayed (NOT all the articles belonging to the parent Air Filters. Clicking on one of these Sub Categories will then take me to a page listing ONLY the articles that belong to that Sub Category
Any help appreciated very, very much!!
Offline
Nope, its not possible, sorry.
The plugin doesn’t deal with sub-categories at all.
Offline
Ok, well, you might be able to do something close. It took someone reminding me of what you can do with the plugin.
Offline
Yeah, but subcats you would really still have to fake a little bit through the ul/li listing. This can work, I have done it with an older version of the plugin, but I could’nt tell you how off the top of m head other than with a buch of time tinkering with the way the navigation was displayed. I will look and see if I have an old version of a clients site that subcats was working on and get back.
EDIT:
I cant find the form I was using, it has been deleted. I had it so that it was outputing subcats though, I wish I could find it for you ‘cause it took a good bit of time to get it just right. Sorry.
Last edited by soulship (2005-05-12 19:45:51)
Offline