Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#169 2006-06-07 10:28:48
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Maybe you (mercury) are trying to generate list from cat1 and cat2? Please note that this won’t work, because the plugin work with another category table created by the plugin itself. So you have to migrate cat1 and cat2 to the new table and to use the plugin tag to generate the cat list from which you link to the article list. Cat1 and cat2 can still be used, but to further categorization, and with other tags.
I’m just guessing about your problem… :)
Bye
Z-
Offline
#170 2006-06-07 13:32:52
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Sebastiaan wrote:
I’m using wow_menu, a plugin that generates nested unordered lists based on the categories, so a css dropdown menu is possible.
Does anyone now if it’s possible to generate nested unordered lists with rss_unlimited_categories?
The html output should be something like this:
<code>
<ul>
<li>Parent category A
<ul>
<li>Child category 1</li>
<li>Child category 2</li>
</ul>
</li>
<li>Parent category B
<ul>
<li>Child category 3</li>
<li>Child category 4</li>
</ul>
</li>
</ul>
</code>
Thanx!
I guess this isn’t possible?
Thanks!
Last edited by Sebastiaan (2006-06-07 13:33:55)
“Bartender, a bit of advice. Always inspect a jukebox carefully.
These machines can be deadly.” — Adam West, the Original Batman
Offline
#171 2006-06-07 14:40:06
- mercury
- Member
- Registered: 2006-05-12
- Posts: 26
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
@NeilA, okay, i see you have pretty good working example..
how have you got <code>site.com/category/blah</code> links to work?
htaccess RewriteRule? can you please post it here.
EDIT: p.s.: <notextile><code>RewriteRule ^category/([^/]+)/?$ index.php?c=$1 [L]</code></notextile> won’t work for me: 404, but <code>site.com/?c=blah</code> still works. problems in rewrite.
@Zanza
yep. understand this. probably i’ve missed instructions to add some rules to my htaccess (after last RewriteRule):
<notextile><code>RewriteRule ^([^/]+)/category/([^/]+)/?$ index.php?s=$1&c=$2 [L]</code></notextile>
so by now i have resolved only <code>site.com/section/category/blah</code> thing
thanks for your replies folks)
Last edited by mercury (2006-06-07 15:15:44)
Offline
#172 2006-06-11 06:58:08
- seebol
- New Member
- Registered: 2006-06-10
- Posts: 4
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I have a question about rss_unlimited_categories_related
If I’m on a single entry’s page, this tag lists related articles. One of the articles that’s listed, however, is the current article. This is confusing for a user who clicks on a seemingly new link, only to be returned to the top of the same page. Is there some way to exclude the current article from being returned in the relatedarticles list?
Thanks,
Sibo
Offline
#173 2006-06-13 17:51:20
- starzabove
- Member
- Registered: 2004-04-13
- Posts: 76
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I’m having a problem getting the rss_unlimited_categories_filedunder to work.
I’ve been able to change to other things such as cloud, list, etc. so I know the database was updated and that the plug-in works.
The filedunder apparently is semi-working, because the label shows up, but the assigned categories do not. Did I miss something?
I added some of the categories after, but some were already there before I installed the plug-in – do I still have to run a bit of MySql for the categories to work?
If anyone has any suggestions, I’d VERY MUCH appreciate it.
UPDATE – I figured it out – one of those ‘doh!’ moments – but just in case someone else is spinning their wheels- I was putting the code in a Page template, and the label worked there, but the categories didn’t show up, and I figured out that it has to be in an article form, so now it works completely.
Last edited by starzabove (2006-06-21 16:03:00)
90+ Textpattern installs and still going…
Offline
#174 2006-06-14 11:17:51
- User61
- New Member
- From: Malaysia
- Registered: 2005-04-01
- Posts: 8
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
My usage of <code>rss_unlimited_categories_cloud</code> is spewing out this error:
<code>tag_error <txp:rss_unlimited_categories_cloud linktosection=“archive” break=”,” /> -> Warning: Division by zero on line 222</code>
What could be the problem?
Update: Ah.. after having a second post tagged with categories, the error disappeared. =)
Last edited by User61 (2006-06-14 11:21:28)
I was born intelligent, but education ruined me.
Offline
#175 2006-06-18 10:15:56
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I haven’t read it anywhere here in the thread: Does linktonext and linktoprev work within categories with rss_unlimited_categories? i.e. is it category-context sensitive? Or are there alternative functions which will do that?
What I’m trying to achieve:
Section page – list of categories. A click on a category goes to:
– Category – a list of articles in that category. A click on an article goes to:
– – Article – the individual article with linktonext and linktoprev. These should only step between articles in that section and category.
It doesn’t seem possible using txp’s normal 2 categories, perhaps with rss_unlimited_categories?
TXP Builders – finely-crafted code, design and txp
Offline
#176 2006-06-20 16:48:37
- girish82
- New Member
- Registered: 2006-06-20
- Posts: 2
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
hello guys,
i’m using <code><txp:rss_unlimited_categories_list linktosection=“index.php?s=archives” break=“li” /></code>. Can someone tell me why the count (number of articles) beside the category name is not reflecting the correct number? Here’s my url – <a href=“http://morethan2cents.com”>http://morethan2cents.com</a>
If you see the categories section in the home page, you’ll notice that the numbers say 1 or 2 in paranthesis beside the category name, but if you click on it, you can see that there are more than 2 articles in the selected category.
Any help would be greatly appreciated.
Thanks
Girish
Offline
#177 2006-06-21 08:36:28
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
This plugin is superb, and solves many other problems, such as how to get /section/category name links.
Just one small thing – is there any way of making the article count sit outside the link? I can see the line in the code:
$row[]=tag(htmlspecialchars($b['title'].$count),'a',' href="'.$path.'" title="'.htmlspecialchars($b['title'])'"');
but don’t have a clue how to change that so that it outputs this:
<a href="/section/category">Category</a> (#number of articles)
Cheers,
Jon VC#9
Offline
#178 2006-06-22 05:27:22
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
jonhicks,
thats an easy one.
<code> $row[] = tag(htmlspecialchars($b[‘title’]),‘a’,’ href=”’ . $path . ‘” title=”’ . htmlspecialchars($b[‘title’]) . ‘”’) . $count;</code>
my bad, inbetween copying the code, a dot was misplaced. it should be good to go now
Last edited by april19 (2006-06-23 00:42:21)
Offline
#179 2006-06-22 07:06:24
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Thanks April, I tried that, but it creates a parse error:
“Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /textpattern/lib/txplib_misc.php(459) : eval()’d code on line 169
The above errors were caused by the plugin:rss_unlimited_categories”
And the category list isn’t output.
Cheers,
Jon VC#9
Offline
#180 2006-06-24 00:18:20
- msteinruck
- Member
- Registered: 2004-07-14
- Posts: 44
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I’m hoping somebody can give me a hand here to show me the error of my ways. Here’s how I have my tags written:
<code>
<txp:if_category>
Viewing posts about <txp:category title=“1” />
<txp:rss_unlimited_categories_article_list form=“blogPosts” />
<txp:else />
<txp:article_custom form=“blogPosts” limit=“10” section=“blog” sortby=“Posted” sortdir=“desc” excerpted=“n” />
</txp:if_category>
</code>
Essentially what I want is to have the same thing as what the standard article tag would produce where all of my blog entries are listed on the front page and clicking a link of a category would take me to a page with articles assigned to that category. Unfortunately right now when I click a link, I get a blank page with the title “category” listed and that’s it.
Ideas?
Offline