Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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: 495
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

#271 2008-07-09 06:52:00

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [Archived] stw_category_tree

damienbuckley wrote:

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

np, pop over for morning-tea at my parent’s place in Surfer’s mKay?

Offline

#272 2008-11-08 01:06:47

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: [Archived] stw_category_tree

Hi,
I dont understand the localized=“y” property but i think its my only hope.
Basically I need to exclude specific categories from lists of image categories.
But heres the part i dont understand about the localized property:
how are these categories assigned to a section?
It must be so simple…
heres the link:
example

heres the code:
<txp:if_category> <p class="path">You are here: <a href="../">Home</a> &gt; <txp:section link="1" Title="1"/> &gt; <txp:bos_image_category link="1" title="1"/></p> <txp:bos_image_index wraptag="ul" break="li"/> <div class="gall"> <txp:bos_image_display capt="1" wrap_capt="div" capt_label="Note:"/> </div> <txp:else /> <p> Select a Photo Gallery </p> <div id="nav"> <txp:stw_category_tree section="gallery" type="image" cssid="cat" onclass="active" localized="y" /> </div> </txp:if_category>

Last edited by kvnmcwebn (2008-11-08 01:08:19)


its a bad hen that wont scratch itself.
photogallery

Offline

#273 2009-06-03 08:36:00

midmood
Member
From: Rome, Italy
Registered: 2007-07-20
Posts: 68
Website

Re: [Archived] stw_category_tree

Hi all,

Is there a way to exclude certain categories from the list?
I tried the Paul_U’s version of the plugin (the one merged with wow_menu), but it’s not working

Offline

#274 2009-06-03 09:02:13

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [Archived] stw_category_tree

midmood wrote:

Hi all,
Is there a way to exclude certain categories from the list?
I tried the Paul_U’s version of the plugin (the one merged with wow_menu), but it’s not working

AFAIK plugin has attr exclude, which allows to exclude certain categories. Did you look through help?

Last edited by the_ghost (2009-06-03 09:07:42)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#275 2009-06-03 09:23:24

midmood
Member
From: Rome, Italy
Registered: 2007-07-20
Posts: 68
Website

Re: [Archived] stw_category_tree

The help page don’t mention any “exclude” tag.
Anyway, I assumed the plugin accepted the same attributes as category_list do, so i tried to put the exclude clause in the code.
It didn’t worked, so I ask.

Can you imagine why i failed?

Offline

#276 2009-06-03 09:47:59

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [Archived] stw_category_tree

Just rewised help/sources – there is attr hide, which contains ids of categories you don’t want to show. Ids could be obtained in extension tab. Look through help again. Here is link to stw_category_tree 1.1 version which has this attr 100% (exported plugin from my own site)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

Board footer

Powered by FluxBB