Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2008-02-18 02:09:44
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: Showing different category listings for Category 1 vs Category 2 menu
jm wrote:
masa, I think ied_hide_in_admin lets you hide categories.
Jon-Michael & Steve,
thanks for the link – I had forgotten this one existed.
On a side note, well, you know how it is, plugin authors come and go, plugins get abandoned, which also makes upgrading txp a real gamble at times.
I’m always trying to do as much as possible with what’s natively available in txp keeping the number of installed plugins at a minimum.
Cheers Martin
Last edited by masa (2008-02-18 02:10:18)
Offline
#14 2009-03-24 12:01:18
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: Showing different category listings for Category 1 vs Category 2 menu
ruud wrote:
If you don’t mind changing TXP core code, edit /textpattern/include/txp_article, change line 837 (in the category_popup function) from:
$rs = getTree('root', 'article');
into:
$rs = getTree($id, 'article');
I just tried to reapply that patch – now line 957 – after upgrading a site from 4.0.6 to 4.0.8, but sadly it doesn’t work anymore: now both selects disappear entirely (the labels are still visible).
I would love to get this working again, as I need to make sure the users can only select from a certain subset of child categories under category-1 and -2 respectively.
Last edited by masa (2009-03-24 12:02:21)
Offline