Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-09-16 06:43:11
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Plugin to hide some categories by section
When I chose a particular section (in the admin>write), I want to hide some part of the category list.
I have sections A and B, and this category tree:
A
—AA
——CatAA1
——CatAA2
——CatAA3
—AB
——CatAB1
——CatAB2
B
—BA
——CatBA1
——CatBA2
If I chose section “A” in the section dropdown list, I want to display the childs of the “A” category :
—AA
——CatAA1
——CatAA2
——CatAA3
—AB
——CatAB1
——CatAB2
Possible with an existant plugin ?
Last edited by jpdupont (2010-09-16 06:44:52)
Offline
#2 2010-09-16 09:09:51
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Plugin to hide some categories by section
Offline
#3 2010-09-17 09:35:43
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: Plugin to hide some categories by section
Thank redbot !
A question : As I have many categories to hide, is it possible in a (your) plugin, to call a txp tag ?
if yes, easy to generate the list of the child categories to hide, from a parent.
Offline
#4 2010-09-17 10:27:29
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Plugin to hide some categories by section
jpdupont wrote:
A question : As I have many categories to hide, is it possible in a (your) plugin, to call a txp tag ?
if yes, easy to generate the list of the child categories to hide, from a parent.
No, sorry. This is an admin side plugin so I don’t think it can use txp tags.
Offline