Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#145 2006-05-08 14:01:43
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
somehow I don’t really get it…
The categorie_list works perfect for me. But if I click on a category it won’t display my articles that have this category on it….
It just doesn’t display anything. If I go into debug-mode, textpattern outputs the following error:
<code>
tag_error <txp:rss_unlimited_categories_article_list linktosection=“article” /> -> Textpattern Error: Unknown table ‘textpattern’ in field list
SELECT DISTINCT textpattern.id FROM txp_textpattern
LEFT JOIN txp_textpattern_category as tc ON textpattern.ID = tc.article_id
LEFT JOIN txp_txp_category as cat ON cat.id = tc.category_id
WHERE Status=4 AND ( (section = ‘article’) ) AND ( cat.name = ‘photographie’ ) on line 61
</code>
I just use the following code on this page:
<code>
<txp:rss_unlimited_categories_article_list linktosection=“article” />
</code>
The url of this page is: http://www.telltec.ch/article/photographie (“photographie” is the name of my category)
the funny thing is that, if i go to http://www.telltec.ch/article/ it displays my articles, but all of them.
I would just like to click on a category in the list and get all the articles relating to it.
is there someone who can help me?
thank you
doni
Offline
#146 2006-05-08 19:13:31
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
This is my code, which works perfectly for me. I think the trick is in the < if_article >
-tags.
<code>
<txp:if_individual_article>
<txp:article />
</txp:if_individual_article>
<txp:if_article_list>
<txp:rss_unlimited_categories_article_list limit=“10” section=“article,foto” />
</txp:if_article_list>
</code>
Hope this helps. Good luck!
…Prrrrrrrr…
Offline
#147 2006-05-08 20:03:01
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Doni,
are you using a prefix on the tables on your txp install? I’m starting to wonder if there may be a problem there. I have been playing around but don’t seem to get anywhere. I have the tags set up at fineartdavid.com, but have the same problem as you. I’ve tried a clean install where this is the only plugin in use and get the same thing. This version is password protected, but if anybody fancies having a look drop me a line and I’ll send you all the details.
David
Offline
#148 2006-05-08 23:31:40
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
gdtroiano: the rss_unlimited_categories_filedunder tag?
doni: check your database and see whether there is the (prefix_)textpattern table. Post what you find.
tnt: what you say is true for a site needing structure of content but the tags work fine by themselves.
fineartdavid: have you edited the plugin with this code?
Offline
#149 2006-05-09 01:14:54
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
april19 wrote:
gdtroiano: the rss_unlimited_categories_filedunder tag?
I’m actually looking for a way to output the one currently filtered tag for use in the title, among other places. Much like the tru_tags_tag_parameter function in the tru_tag plugin. If that’s possible with the filedunder tag, I’d love to know how.
Offline
#150 2006-05-09 01:45:00
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
the title of the html page? of the content heading?
at any rate, try to be a bit more specific and i am sure more people will provide help.
txp:category should be your solution.
Offline
#151 2006-05-09 01:53:14
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Yeah, the title of the page (e.g. < title >< /title >), as well as the being used within the site.
Since rss_unlimited_categories has its own table for the categories, I don’t think txp:category is going to work.
Offline
#152 2006-05-09 02:07:38
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
well technically, the plugin only references a table used to join articles to categories so usage of the txp:category tag will still have the same purpose.
i know it also works because i just tried it out.
Offline
#153 2006-05-09 02:11:56
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
april19 wrote:
well technically, the plugin only references a table used to join articles to categories so usage of the txp:category tag will still have the same purpose.
Brilliant! Thanks a bunch.
I sit corrected…
Offline
#154 2006-05-09 10:40:18
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Yes I’m using a prefix…its “txp_”
I didn’t know that it will automatically create such a prefix….
so my textpattern table is now “txp_textpattern” and the other tables are “txp_txp_XYXYXY”…..
Offline
#155 2006-05-09 16:25:31
- jriemerm
- New Member
- Registered: 2006-04-17
- Posts: 9
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I feel a little bit stupid asking this, but I had trouble following the discussion about the category choices not showing up in the admin for Internet Explorer users.
Is this a confirmed bug? Is this plugin currently not useable for IE users?
That has been my experience, but I couldn’t quite tell if there might be some other problem, for instance in my own configuration and a few other people’s.
Is there anyone using a current version of IE for whom this plugin is working?
Last edited by jriemerm (2006-05-09 16:27:32)
Offline
#156 2006-05-09 17:57:09
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
jriemerm: It’s a bug. It hasn’t been confirmed by Wilshire, but no one else has come up with a solution. So for now I guess it’s safe to say that no one using IE is able to use this plugin.
…Prrrrrrrr…
Offline