Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2014-03-02 10:19:07
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,315
rss_unlimited_categories plugin
hi,
i’m creating a companies data site where i need to add more than two related categories to articles, so i decided to use rss unlimited categories plugin for adding extra categories under write tab. cause rss uc plugin is orphan and not much traffic in plugin topic page, i decided to post it here.
installation was sucessfull and no conflicts with other plugins were noticed (deactivated all others):
- under plugin preferences: Check rss_uc: Status OK
- new ‘select category’ list shows up under write tab
everything looks ok.
created two different articles and posted them under ‘companies’ section, under ‘harjumaa’ category1 and under two different rss unlimited categories. articles show up under category1 page , but won’t under rss unlimited category pages (click FURNITURE or TOYS after RSS UC CATEGORIES).
my template:
<txp:if_section name="companies">
<txp:if_category>
<txp:category title="1" wraptag="h2" />
</txp:if_category>
<txp:article form="firm" limit="500" />
<txp:else />
<txp:article status="sticky" />
<txp:article limit="100" />
</txp:if_section>
form ‘firm’:
<div class="article clearfix">
<txp:if_article_list>
<h2><txp:permlink><txp:title /></txp:permlink></h2>
<txp:if_article_image><txp:images auto_detect="article" form="firm_image" wraptag="div" /><txp:else /></txp:if_article_image>
<txp:body />
<p class="posted">RSS UC categories: <txp:rss_uc_filedunder linked="1" section="companies" linktosection="companies" parent="categories" delim="/?c=" /></p>
<p class="posted">Category1: <txp:category1 section='<txp:section />' title="1" link="1" /> <txp:category2 section='<txp:section />' title="1" link="1" /></p>
<txp:else />
<h1><txp:title /></h1>
<txp:if_article_image><txp:images auto_detect="article" form="firm_image" wraptag="div" /><txp:else /></txp:if_article_image>
<txp:body />
<p class="posted">RSS UC categories: <txp:rss_uc_filedunder linked="1" section="companies" linktosection="companies" parent="categories" delim="/?c=" /></p>
<p class="posted">Category1: <txp:category1 section='<txp:section />' title="1" link="1" /> <txp:category2 section='<txp:section />' title="1" link="1" /></p>
</txp:if_article_list>
</div>
what could be wrong?
php: 5.3.28
txp: 4.5.5
Last edited by Gallex (2014-03-04 10:11:31)
Offline
#2 2014-03-02 16:56:49
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: rss_unlimited_categories plugin
From the plugin help:
rss_unlimited_categories_filedunder
lists all categories assigned to the current article.
“To the current article”. In your example you are in a article list. I don’t know, if this is the problem.
Offline
#3 2014-03-03 12:14:19
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,315
Re: rss_unlimited_categories plugin
GugUser wrote #279356:
“To the current article”. In your example you are in a article list. I don’t know, if this is the problem.
if article published under ‘companies’ section and ‘furniture’ category, it should show up under this category page, isn’t? it should show up in here http://www.mysite.ee/companies/?c=furniture
Offline
Re: rss_unlimited_categories plugin
I’ve never used this plugin, but according to its help
rss_unlimited_categories_article_list – Lists articles by category. This is an unlimited category aware replacement for the standard Textpattern article list tags.
you could try to replace <txp:article />
with <txp:rss_unlimited_categories_article_list />
.
Offline
#5 2014-03-03 14:13:48
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,315
Re: rss_unlimited_categories plugin
etc wrote #279377:
I’ve never used this plugin, but according to its help
you could try to replace
<txp:article />
with<txp:rss_unlimited_categories_article_list />
.
you are a lifesaver etc. again. thank you!
Offline
Pages: 1