Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#736 2011-06-30 21:24:42
- makss
- Plugin Author
- From: Ukraine
- Registered: 2008-10-21
- Posts: 355
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
maxk wrote:
Is there a way to find articles using multiple categories that is not all inclusive, an article must be in ALL categories that are being searched rather than any category being searched.
Install last version rss_unlimited_categories and use andcategory attribyte in rss_unlimited_categories_article_list tag.
| andcategory – Accepts a comma separated list of categories. NO spaces after commas. (category1 AND category2 AND …) | andcategory="cat1,cat2" |
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
#737 2011-07-01 11:50:05
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Thanks for this great plugin!
I want to display all children of one category:
<txp:rss_uc_list linktosection="section1" limit="10" break="li" parent="cat1" />
That works so far. All tags are being displayed that are used in articles.
- but I want to display all UNUSED categories as well. Is that possible?
Thanks!
mjut
Last edited by mjut (2011-07-03 22:09:24)
Offline
#738 2011-07-14 04:20:31
- aliceaod
- Member
- Registered: 2011-07-11
- Posts: 18
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I’m getting all kinds of database errors, perhaps someone here can help?
A problem occured while loading the plugin: rss_unlimited_categories -> User_Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 1
CREATE TABLE `rhw_textpattern_category` (`article_id` int(11) NOT NULL default '0', `category_id` int(6) NOT NULL default '0', PRIMARY KEY (`article_id`,`category_id`)) TYPE=MyISAM;
C:\xampp\htdocs\rigidheddleweaving\textpattern\lib\txplib_misc.php:653 eval() on line 89`
Last edited by aliceaod (2011-07-14 04:37:55)
Offline
#739 2011-07-14 05:01:45
- aliceaod
- Member
- Registered: 2011-07-11
- Posts: 18
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Solution: I created the table manually with article_id and category_id in it and then ran the suggested sql query that comes in the help file. That seems to have fixed it.
Last edited by aliceaod (2011-07-14 05:02:24)
Offline
#740 2011-07-17 02:02:07
- aliceaod
- Member
- Registered: 2011-07-11
- Posts: 18
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
If anyone knows, would you please tell me how to increase the size of the text box in the admin panel? I have a lot of categories and the box is so tiny, I’d like to increase the height of the box to make everything in the list visible.
Offline
#741 2011-07-22 13:32:49
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I am curious myself how to increase the size of the box – its just too small…
Offline
#742 2011-07-22 13:36:46
Offline
#743 2011-07-29 19:02:53
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
olivierh wrote:
The only thing is that when I’m in debugging mode I get a few of error message like this one :
Tag error: <txp:rss_unlimited_categories_article_list section=“articles” limit=“5” /> -> Notice: Undefined variable: uExpires on line 922
textpattern/lib/txplib_misc.php(594) : eval()’d code:483 populateArticleData()
textpattern/publish.php:1106 rss_unlimited_categories_article_list()
textpattern/publish.php:1028 processTags()
textpattern/publish/taghandlers.php:2625 parse()
textpattern/publish.php:1106 if_individual_article()
textpattern/publish.php:1041 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()
Edit the code, replace
unix_timestamp(Posted) as uPosted
with
unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod
It’s in 3 or 4 places in the code. With that modification, the errors about uExpires and/or uLastMod should be gone.
Offline
#744 2011-09-01 16:29:50
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
aliceaod schrieb:
If anyone knows, would you please tell me how to increase the size of the text box in the admin panel? I have a lot of categories and the box is so tiny, I’d like to increase the height of the box to make everything in the list visible.
look at the css, which your template using.
find this location:
select {
font-size: 0.9em;
background-color: #eee;
}
and add the follow code under this line:
/*set the new height for only the select-fields in "Sorting and Display"*/
#write-sort select {
height:20em;
}
/* this make back the old height, so that only the unlimited-category-list having the new height.*/
#write-sort select#category-1,
#write-sort select#category-2,
#write-sort select#section
{
height:100% !important;
}
You can making the height in #write-sort select higher, what do you need. And maybe, if You changing the Admin-Theme, so make this again in the css.
Last edited by lythande (2011-09-01 16:30:36)
Offline
#745 2011-09-17 17:08:14
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
with the function rss_unlimited_categories_list I can defined a breakclass – but this is one name for all categories (how e.g. <li class="c.name">c.title-1</li><li class="c.name">c.title-2</li>
I wish the name in the breakclass automatically generate the same name from each different category-title how e.g.
bg. <li class=“cat-1”>Cat-1</li>
<li class=“cat-2”>Cat-2</li>
…
For this automatic generate name, what I can write in <txp:rss_unlimited_categories_list breakclass="???" />?
Offline
#746 2011-09-17 17:43:27
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Not sure if this will work, but have you tried <txp:rss_unlimited_categories_list breakclass='<txp:category />' />?
Offline
#747 2011-09-17 19:34:27
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Els schrieb:
Not sure if this will work, but have you tried
<txp:rss_unlimited_categories_list breakclass='<txp:category />' />?
much thanks for the idea, but doesn’t work, because the categories are not in the txp-category-datatable (its empty and rss_unlimited_categories have create own datatable). :-(
It’s output only <li class="">catname<li/>
So I think, its only get with php, but I don’t know, with which magical word…
the code <txp:rss_unlimited_categories_list breakclass='<txp:rss_unlimited_categories_list />' /> or another similar code doesn’t work, its created a link again or does nothings…
Offline
#748 2011-09-17 20:16:58
- GugUser
- Member

- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
<txp:category_list wraptag="ul" break="">
<li class="<txp:category />"><txp:category title="1" link="1" /></li>
</txp:category_list>
Last edited by GugUser (2011-09-17 20:17:28)
Offline
#749 2011-10-13 19:38:56
- rewQ
- New Member
- Registered: 2011-03-04
- Posts: 5
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Wonderful work! and i have a question: how can i exclude some categories from list? If i use <txp:rss_unlimited_categories_list showcount=“0” break=“li” activeclass=“active” class=“menuleft” wraptag=“ul” time=“past” usemessy=“0” form=“default” linktosection=“spin” section=“spin” >
It the same <txp:category_list exclude=”….” >
Now i use 1. ….
2. ……
And use OFFSET .
But use of digits is not the most good decision/
Offline
#750 2011-10-28 14:59:11
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
hello forum,
on the first page of this thread there is a link to a plugin fix
Unofficial fix for txp 4.4.1 by ruud
but it doesn’t seem to point to a download file.
can somebody point me in the right direction please?
thanks
Offline