Textpattern CMS support forum

You are not logged in. Register | Login | Help

#741 2011-07-22 13:32:49

mjut
Member
Registered: 2009-07-16
Posts: 29
Website

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

mjut
Member
Registered: 2009-07-16
Posts: 29
Website

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

I found this
Take a look at “Other tweaks”. Unfortunately thats not working with me…

Last edited by mjut (2011-07-22 13:37:27)

Offline

#743 2011-07-29 19:02:53

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

lythande
Member
Registered: 2009-09-08
Posts: 197
Website

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

lythande
Member
Registered: 2009-09-08
Posts: 197
Website

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
Admin
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

lythande
Member
Registered: 2009-09-08
Posts: 197
Website

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,400

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
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

totoff
Member
From: Cologne, Germany
Registered: 2011-04-04
Posts: 145
Website

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

Board footer

Powered by FluxBB