Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#541 2008-03-10 16:02:29
- sparkybarkalot
- Member
- Registered: 2004-10-13
- Posts: 43
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
jeremywood or
Logoleptic:
I’m having the same problem as @jeremywood did with rss_unlimited_categories_article_list. I have an article that contains multiple rss_unlimited_categories_article_list tags. At the moment, if an item is in two categories, it will only display under ONE of the categories. Example:
1) Joe is a member of the man, employee, slacker categories
2) An article contains the tags (stripped down for simplicity):
<txp:rss_unlimited_categories_article_list category=“man” form=“myform” section=“my section” />
<txp:rss_unlimited_categories_article_list category=“employee” form=“myform” section=“my section” />
<txp:rss_unlimited_categories_article_list category=“slacker” form=“myform” section=“my section” />
3) Only the first tag returns any results, when in fact Joe is also an employee and a slacker and should therefore be displayed as well.
This is a big problem for me that I need to get sorted out. Any suggestions?
Offline
#542 2008-03-10 21:06:31
- sparkybarkalot
- Member
- Registered: 2004-10-13
- Posts: 43
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
@jeremywood
I believe I found a way to make rss_unlimited_categories_article_list do what you (and I) want it to do. Around line 497 of the plug-in you’ll find these two lines commented out:
//unset($GLOBALS[‘thisarticle’]);
//unset($GLOBALS[‘theseatts’]);//Required?
I changed the first line so it wasn’t commented out, like this:
unset($GLOBALS[‘thisarticle’]);
//unset($GLOBALS[‘theseatts’]);//Required?
and that SEEMS to have solved the problem. I’ll let you know if it causes other problems
Offline
#543 2008-03-14 12:52:12
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Logoleptic wrote:
@freaky: What other plugins do you have installed and what version of Txp are you using?
You can find both pieces of information in your Txp diagnostics (Admin tab -> Diagnostics sub-tab).
Sorry for my late answer :)
Here are my diagnostics:
Textpattern version: 4.0.6 (r2805)
Last Update: 2008-02-16 08:31:10/2008-02-16 08:30:46
Document root: /public
$path_to_site: /public
Textpattern path: /public/textpattern
Permanent link mode: section_title
Temporary directory path: /tmp
Site URL: xxxx
PHP version: 5.2.0-8+etch10
GD Image Library: 2.0 or higher; supported formats: GIF, JPG, PNG.
Server Local Time: 2008-03-14 13:50:51
MySQL: 5.0.32-Debian_7etch5-log
Locale: C
Server: Apache
Apache version: Apache
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Linux 2.6.18-5-k7
Active plugins: rss_suparchive-0.18m, ajw_comments_feed-0.6, upm_image-0.6.1, asy_sitemap-0.7m, stm_javascript-0.1, ob1_googlenav-2.0, rss_unlimited_categories-0.7.4m, sta_SectionCategoryToc-0.2, zem_contact_reborn-4.0.3.20m, zem_contact_lang-4.0.3.6, bas_lets_see_yours-0.2, pap_contact_cleaner-0.1, sta_tournament-0.5
Pre-flight check:
————————————
.htaccess file is missing
————————————
Offline
#544 2008-03-15 17:40:18
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Ok, I found the error-creating-plugin! It isn’t the category plugin, it’s asy_sitemap :)
Offline
#545 2008-04-07 07:29:15
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
uhh, can anyone help me? i use the filedunder tag in an article form and clicking on the category in a blog takes me to a blank page whereas there should be a page consisting of articles. i still do have the category 1 and category 2 dropdown lists displayed in write tab along with the new multiple select box. under categories tab, there are no articles assigned. i never use the dropdown lists. i use ctrl and click on categories in the new box. there is a textpattern_category table. i don’t know what went wrong?
Last edited by Ruhh (2008-04-07 08:19:59)
<txp:Ruhh />
Offline
#546 2008-04-07 20:37:35
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
@Ruhh: What are you using for the linktosection
attribute of that tag? The somewhat odd default is “articles” — if you don’t have an articles section, it could cause the kind of behavior you describe.
Offline
#547 2008-04-07 20:41:39
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I already have the linktosection=“category” but the problem is the empty result. in the categories tab, there are no articles assigned. therefore when clicking on the category link, there are no articles.
<txp:Ruhh />
Offline
#548 2008-04-07 22:00:24
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Ruhh wrote:
I already have the linktosection=“category” but the problem is the empty result.
Do you have a “category” section defined under the Sections tab, with a page template assigned to it?
in the categories tab, there are no articles assigned. therefore when clicking on the category link, there are no articles.
That’s not quite correct. The reason that the category tree shows no articles assigned is because it gets its count form Textpattern’s built-in way of assigning categories. This plugin tracks category assignment in its own table, which the category tree in the admin interface doesn’t know anything about.
As long as you assign all of your categories using the unlimited categories list box, all of your categories will continue to appear “empty” under the Categories tab.
Offline
#549 2008-04-07 22:05:22
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
ok. i just recently created a section named and titled “category”. it uses the page “default” but i am assuming this section needs a new page template. all checkboxes are checked “no”. what would the tags be in the content of the new page template? a new form needs to created as well?
Last edited by Ruhh (2008-04-07 22:51:32)
<txp:Ruhh />
Offline
#550 2008-04-10 00:56:24
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Welcome everyone! This seems to be a very popular thread and I thought I’d do my part in adding to it.
I’ve installed and activated the rss_unlimited_categories plug-in. I’ve adjusted all of my categories for my articles and when I can see a list of the categories with the number of articles tagged using this code:
<txp:rss_unlimited_categories_list break="li" />
Unfortunately, whenever I click one of those links, I’m brought to an empty page with the following error message:
Notice: http_auth_requires_mod_php in /var/www/html/textpattern/publish/taghandlers.php on line 555
What can I do to get this to appear on one of my section/pages??? Please help!!!
Offline
#551 2008-04-10 03:31:11
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
you add an attribute: section=“desired section”
<txp:Ruhh />
Offline
#552 2008-04-12 12:53:39
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
That doesn’t work!
Offline