Textpattern Forum

You are not logged in. Register | Login | Help

#261 2007-12-08 17:35:12

santheo
Plugin Author
From: Chicago
Registered: 2004-05-27
Posts: 62
Website

Re: [Archived] stw_category_tree

Nora-

Good idea. I’ll put this on the feature list for the next version. (Though no promises about when that’ll be.)

-S

Offline

#262 2008-01-16 12:02:54

SebastianS
Member
From: Australia
Registered: 2007-10-05
Posts: 46

Re: [Archived] stw_category_tree

Hi,

I’m trying to work out how to use stw_category_tree 1a.2.

Looking at my site:- webdevelopmentnotes.com I want to have control over the style of the child categories of the Textpattern parent category (Txp-Tags, TXP Resources).

So I suppose I am asking how I put a class style tag into the child categories so I can control text size and whatever else.

Looking at the HTML I see <li id=“cat-tags”><span><a href=“http://webdevelopmentnotes.com/articles/?c=tags” title=“Txp-Tags”>Txp-Tags</a></span></li>

and i add

.cat-tags { color: #34525A; font-size: 1.2em; } to the style sheet but it does nothing.

So really I’m asking a CSS question.

Offline

#263 2008-01-16 12:47:10

uli
Moderator
From: Cologne/Köln
Registered: 2006-08-15
Posts: 3,083

Re: [Archived] stw_category_tree

you’re addressing an id (#) as a class (.) Try #cat-tags { color: #34525A; font-size: 1.2em; }

Last edited by uli (2008-01-16 12:55:42)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#264 2008-01-16 23:18:00

SebastianS
Member
From: Australia
Registered: 2007-10-05
Posts: 46

Re: [Archived] stw_category_tree

<ul><li> Thank you for pointing that out to me, that fixed the problem, and brought up more questions for me, so I’ll carefully read the plugin notes before I ask anymore.

Offline

#265 2008-03-30 10:06:14

Jaro
Member
From: S/F
Registered: 2004-11-18
Posts: 89

Re: [Archived] stw_category_tree

Is there any way to use the tag as following?

<txp:stw_category_tree wraptag="p" break=", " count="[]" />

This is possible with the native category_list tag but stw_category_tree interprets break=", " as <,>.

Any ideas how to force it to use comma as a break parameter?

Offline

#266 2008-05-25 22:20:11

darche
Member
From: Zürich
Registered: 2007-07-09
Posts: 68
Website

Re: [Archived] stw_category_tree

@Paul_U

Hi Paul_U – when I’m using the option killempties="0" in “your version of stw_category_tree “ I have the problem , that i dont see anything, only if I set this to “0” then my menu items appears…

have you ever heard about this problem…

Last edited by darche (2008-05-29 20:11:52)

Offline

#267 2008-06-17 12:29:31

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [Archived] stw_category_tree

Anyone have a copy of stw_category_tree 1a.2 they care to let me have please?

Thanks
Lee

Offline

#268 2008-06-17 14:17:51

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 491
Website

Re: [Archived] stw_category_tree

i have 1.a.1 if it’s any use


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#269 2008-06-17 14:21:48

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [Archived] stw_category_tree

Thanks. Another kind sole sent it to me.

Offline

#270 2008-07-09 00:46:39

damienbuckley
Member
From: Brisbane, QLD, AU
Registered: 2006-02-24
Posts: 138
Website

Re: [Archived] stw_category_tree

mrdale wrote:

fuls wrote:

Is it possible to use some kind of category list sorting with this plugin?

Not as such, although you can use the category “name” for ordering and the “title” for display. So you could do the following…

  1. category title=“people” and name=“01-people”
  2. category title=“animals” and name=“02-animals”

to list people before animals in a list.

That is bloody genius – just saved my butt big-time – thanks.

Offline

Board footer

Powered by FluxBB