Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#709 2010-04-18 18:43:22

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Hi,
how can i check if a category is assigned to an article at all?

I can use rss_if_article_unlimited_category but have to add all cats to attribute name which is cumbersome. What i like to achieve is:

rss_if_article_unlimited_category value=is-set
..some css here.. and cat-list
else
…nothing…or poem
/rss_if_article_unlimited_category

Offline

#710 2010-04-18 19:30:16

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Something like this? (in the article form)

<txp:variable name="current_article_categories" value='<txp:rss_unlimited_categories_filedunder break="" />' />

<txp:if_variable name=""current_article_categories" value="">
   …nothing…or poem
<txp:else />
   ..some css here.. and cat-list
</txp:if_variable>

Offline

#711 2010-05-18 08:20:22

fioresarro
New Member
Registered: 2010-05-18
Posts: 2

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

I read 70 pages of forum and I found nothing that explains how to solve the problem that this plugin has: selecting the category does not appear in the page items. I made a thousand attempts. The plugin is very useful and well done but the problem must be solved to avoid too many unnecessary posts! What is the code to display the items marked with the category?
I just can not refrain from using this plugin. Why not make a nice tutorial? I do it if I helped!
Congratulations to the author.

Offline

#712 2010-05-18 16:01:58

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

fioresarro, to display the items in a given category, use rss_unlimited_categories_article_list

or is that not what you’re asking?

Last edited by floodfish (2010-05-18 16:02:14)

Offline

#713 2010-05-18 17:37:25

fioresarro
New Member
Registered: 2010-05-18
Posts: 2

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Thanks for the reply! Now I managed to solve the problem.

The problem was the relationship between page, section and form.

If the installation is done on a modified template, the default values create conflict and give errors. These do not lead to the solution as the error on db absolutely wrong. Thanks, now everything works. Check yourself here.

Last edited by fioresarro (2010-05-18 17:39:44)

Offline

#714 2010-05-22 19:24:13

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

anyone else get this when using the patch?

Parse error: syntax error, unexpected T_STRING in /.../html/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 14
The above errors were caused by the plugin:rss_unlimited_categories

Last edited by kvnmcwebn (2010-05-22 19:33:15)


its a bad hen that wont scratch itself.
photogallery

Offline

#715 2010-06-16 11:36:44

olivierh
New Member
From: Lisbon
Registered: 2010-06-16
Posts: 6
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Hi,
I’m kind of new to textpattern and I’ve a small problem with this plugin.
I use the tag rss_unlimited_categories_filedunder to display the categories of the articles but the category links would always show an empty page.
you can see it here : http://microdisco.org/
I though it was maybe a problem with the section name but the address of the page that should display the article of the category is like http://microdisco.org/articles/asia
which seem to be right because my post are labelled with the section “articles”.
I guess the solution is really easy but I spend hours on it and couldn’t resolve the problem. Please help me, I’m really desperate!
Olivier

Offline

#716 2010-06-16 18:40:59

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Olivier, can you post the code you’re using?

Looks like a cool site. I’m a friend of and occassional collaborator with Ranjit—I’ve played that matchbox synth!

Offline

#717 2010-06-18 09:50:21

olivierh
New Member
From: Lisbon
Registered: 2010-06-16
Posts: 6
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Hi Jason,
Thank you for your answer! I’m glad you like the site, it’s funny that you know Ranjit, brooklyn is small…

Here is the code I’m using to display the categories on the main page:

<txp:rss_unlimited_categories_filedunder break=” “/>

I also tried this but it didn’t work either
<txp:rss_unlimited_categories_filedunder section=“articles” break=” “/>

Then the “articles” section use the page “archive” and there I have something like this
<txp:article />
which always return an empty list of articles.
Do you need more ?
Take care,
Olivier

Offline

#718 2010-06-18 10:24:38

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

olivierh wrote:

Here is the code I’m using to display the categories on the main page:
<txp:rss_unlimited_categories_filedunder break=” “/>

From help:
rss_unlimited_categories_filedunder - Lists all categories assigned to the current article

This tag used only for individual article.

<txp:if_individual_article>
   <txp:rss_unlimited_categories_filedunder break=" "/>
</txp:if_individual_article>

aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#719 2010-06-18 17:18:22

olivierh
New Member
From: Lisbon
Registered: 2010-06-16
Posts: 6
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Hi makss,
Yeah of course I use the rss_unlimited_categories_filedunder to list the categories of each individual article. And this works perfectly, the problem is only with the category links which all lead to an empty page.

Offline

#720 2010-06-19 03:37:23

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

I think Olivier’s problem is that his category pages don’t display anything at all. Or they are hiding at some unknown URL.

I don’t really know how to diagnose it from here.

Olivier, what version of rss_unlimited_categories are you running? And which version of textpattern?

Are you using other plugins that might be interfering?

Offline

Board footer

Powered by FluxBB