Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#325 2006-11-15 14:18:33
- Etienne
- New Member
- From: Paris
- Registered: 2006-11-15
- Posts: 4
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
OK, how ?
I tried to play with “usemessy” but nothing good append… Should I go into the plugin code ? Where ?
Offline
#326 2006-11-15 14:51:12
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
to restate my earlier question:
can I have the rss_unlimited_categories_filedunder
command filter by a parent category?
example: an article is one item in a portfolio, will have the categories ‘Garamond’ and ‘Myriad’ applied. both these categories are subcategories of the parent category ‘TYPEFACES’. To output this additional metadata at the end of an article, i would like to be able to write
Typefaces: [txp:rss_unlimited_categories_filedunder parent="TYPEFACES" (...) /]
, right?
Only, rss_unlimited_categories_filedunder
does not seem to have a parent
attribute.
Any workaround, anyone? Rob, don’t you think this is a totally awesome feature worthy of instant implementation? ;-)
I have spent hours in vain trying to hack this, mostly because I have no bloody clue what I am doing.
Thanks for your help,
Kai
Offline
#327 2006-11-15 17:15:35
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Now I’ve read through the whole thread about three times and tried any solution, but I still see no articles listed, when a category is clicked on my root page.
I have the plugin installed, activated, .htaccess is fine.
In my default form I use:
<txp:rss_unlimited_categories_filedunder linktosection=“category”/>
In my default page I use:
<txp:rss_unlimited_categories_list linktosection=“category” break=“li” wraptag=“ul” sortdir=“desc” />
An in my category page I use:
<txp:if_individual_article>
<txp:article />
</txp:if_individual_article>
<txp:if_article_list>
<txp:rss_unlimited_categories_article_list />
</txp:if_article_list>
But the result is nada, nil nothing. If I use any other command instead the rss_uca_list, for example the cloud things work out just fine.
If anyone got the time to have a look at GeekyMall and check my coding, I would be really thankful.
TIA, Zep
edit: I forgot: And I have no prefix in my textpattern databases…
Last edited by zep (2006-11-15 19:00:53)
Offline
#328 2006-11-21 15:53:58
- Etienne
- New Member
- From: Paris
- Registered: 2006-11-15
- Posts: 4
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I come back with my unclean URL…
I’ve tried to go into the code. It’s not very easy…
I need something like that for my link : http://myblog/indexp.php?id=x
So I guess I got to create a place where I’ll find a list of all the articles which are using the selected category, and on this list, the link to the article should be like what I need.
Any help will be nice
(do you understand my bad english ?)
Offline
#329 2006-11-22 13:36:36
- rohner
- New Member
- Registered: 2006-11-12
- Posts: 7
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I have Textpatern 4.04 and I am using the latest rss_unlimited_categories plugin (which I love!) If I use a tag cloud, it doesn’t list alphabetically as Rob said it should in an earlier post – “… I updated the 0.5 download so that the cloud will be sorted by name unless a limit is specified.” Instead, it orders the tags in the cloud by when the tag was added. I made sure that I didn’t have a limit specified and I don’t have sortdir in my code either, although I have tried it like that too, just to see if it would work that way for some reason.
I also just discovered that someone else had this problem too…
meb wrote:
meb wrote:
Anyone using this plugin with the TextPattern 4.0.4 release? Any problems with it? I found that when using the tag cloud the cloud is not sorted according to category name (either ascending or descending). Anyone else have this problem in 4.0.4?
Hmm! On a different site of mine the plugin works fine. I’ll try to figure out what is going on and post back.
Meb, did you find out the answer?
This is how my code is now:
<txp:rss_unlimited_categories_cloud linktosection=“archive” break=”/” />
I want the list to stay weighted, but I also want the tags to be listed in alphabetical order so people can find specific tags easily. Is there something I can add to the code to do this (in the plugin or in the line above)?
Thank you!
Last edited by rohner (2006-11-22 13:49:43)
Offline
#330 2006-11-24 20:23:38
- minimal design
- Member
- Registered: 2006-10-15
- Posts: 38
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Great plugin but I keep on getting strange extra HTML whatever I do. For example: I get a “return” in my code behind each category link when using (nothing in the “break” tag…:
<txp:rss_unlimited_categories_filedunder usemessy="1" linktosection="blog" break="/" />
I also tried to use the label attribute but I get an extra <br />
when I do…
Last but not least, usemessy="1"
exists for txp:rss_unlimited_categories_filedunder
but not for rss_unlimited_categories_list
– Am I missing something? It seems that if you need it for one, you’d need it for the other… I do…
Offline
#331 2006-12-01 19:28:46
- leohart
- Member
- Registered: 2006-02-09
- Posts: 22
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Hi guys,
I have made some changes to this plugin that fixes several small problems along with implementing a different way to parse the url. My modified version also supports URL {section_name}/not-in/{category_name} so that you can list articles that do not belonged to a certain category.
If anyone is interested, please let me know.
@minimal design: I think the author did not foresee your need for usemessy=“1” in rss_unlimited_categories_list. You might need to implement it yourself.
Offline
#332 2006-12-01 20:46:43
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I’m still actively developing this plugin, so if you don’t mind sending me your changes, I’ll take a look at including them in the next version.
I already have several enhancements and fixes in the works which should be ready for release in the next few days.
Offline
#333 2006-12-03 23:05:40
- leohart
- Member
- Registered: 2006-02-09
- Posts: 22
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I surely don’t mind. I don’t know how to send it to you however so I am making it available for downloading here
rss_unlimited_categories 0.7h
Offline
#334 2006-12-07 04:17:56
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Rob, I’m new to Textpattern. Your plugins make total sense to me, this one especially … I don’t understand why Textpattern has only two categories by default, since cross-referencing sections with tags is such common practice lately.
Anyway, thanks a lot for your free plugins. Looking forward to the fix for rss_unlimited_categories_article_list.
Offline
#335 2006-12-10 20:54:16
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Hey everyone,
I’ve been trying out this plugin and have run into a couple of issues. I’ve been trying to go back over the 34 pages of this thread, but maybe I’ve missed an obvious answer because my mind is numb.
Problem number One: I may be experiencing the same, or similar problem as Etienne is attempting to describe. My Textpattern URLs are set as messy in the preferences. This is because I’m running my copy of Textpattern from a subdirectory in my Textdrive account. (At least that was my understanding of how it needed to work from what I’d read previously). So, URLs look like this:
http://sak.102010.org/index.php?c=foss
When I use <txp:rss_unlimited_categories_filedunder usemessy=“1” /> the categories get listed nicely, and the URLs are messy, but not messy in a way that works for my setup. i.e. they look like:
http://sak.102010.org/article/?c=foss
And generate a 404 error. I’ve tried modifying the tag to include linktosection=“whatever” but no matter what I put in between the quotes, (even if it’s a valid section name) it’s wrong because there’s no /section/ in any of the URLs generated by my Textpattern install. Unless I’m missing something that is.
Which brings me to Problem number Two: I’m trying to understand where it’s appropriate to use rss_unlimited_categories_article_list, but I’m a little confused. I don’t appear to be using any of the default Textpattern tags that this tag replaces, at least not that I’m aware of. My page templates look like this:
<div id=“articles”>
<txp:article /><txp:if_individual_article>
<p><txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
<txp:link_to_next><txp:next_title /></txp:link_to_next></p>
<txp:else />
<p><txp:older><txp:text item=“older” /></txp:older>
<txp:newer><txp:text item=“newer” /></txp:newer></p>
</txp:if_individual_article></div>
… and my default article form looks like:
<h2><txp:permlink><txp:title /></txp:permlink></h2><span class=“small”>
<txp:posted format=”%m.%d.%y %R” gmt=“0” /><br />
Section: <txp:section link=“y” title=“1” /><br />
Filed Under: <txp:rss_unlimited_categories_filedunder usemessy=“1” /></span><txp:if_article_list>
<txp:if_excerpt>
<div id=“indent”>
<txp:article_image align=“left” thumbnail=“1” class=“article_thumb” />
<txp:excerpt /></div>
<txp:if_comments>
<span class=“small”>
[<txp:comments_count />] Comments</span>
</txp:if_comments>
<txp:permlink >Read More…</txp:permlink>
<txp:else />
<div id=“indent”>
<txp:article_image align=“left” thumbnail=“1” class=“article_thumb” />
<txp:body /></div>
<txp:if_comments>
<span class=“small”>
[<txp:comments_count />] Comments<br /></span>
<txp:permlink>Read More…</txp:permlink>
</txp:if_comments>
</txp:if_excerpt>
<txp:else />
<div id=“indent”><txp:article_image align=“left” thumbnail=“1” class=“article_thumb” />
<txp:body /></div>
<p align=“center”>
<txp:article_image /></p>
<txp:if_comments>
<span class=“small”>
[<txp:comments_count />] Comments<br /></span>
<txp:permlink>Read More…</txp:permlink>
</txp:if_comments>
</txp:if_article_list><div id=“divider”></div>
So I’m a little confused as to where the tag should go to make the lists appear correctly. I’m wondering if there may be some relation between the two problems. If I use <txp:rss_unlimited_categories_filedunder linktosection=”“ usemessy=“1” /> in the default article form, then I don’t get the 404 error any longer, but it only lists articles that exist in the previous DB table under that particular category. When installing, I did the SQL statements Rob posted, to copy the data from the txp_category table over to the new textpattern_category table.
My apologies for the long post, and also if I’ve missed something obvious and am asking a redundant question.
Thanks,
Sak.
Offline
#336 2006-12-21 19:58:18
- rockbeatspaper
- New Member
- Registered: 2005-01-21
- Posts: 5
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Rob,
I have installed this plugin and it seems to work great except for one thing.
I can assign multiple categories fine, but I can only remove all but one category from the article after assigning them. For some reason, it will not let me remove that last category, whatever it ends up being. I have been checking this in the db table to make sure of what it is doing. Any help would be greatly appreciated.
Thanks,
Dave
dave@rockbeatspaper.net
Offline