Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [howto] Use List of Categories as Values for glz_custom_field Dropdown Options
alter line 4 as follows:
$query = safe_rows('name, title', 'txp_category','type="image" AND name!="root" ORDER BY name');
or use title instead of name if you prefer to sort by the title. As jukka mentioned above, you can use an equals sign instead of like.
TXP Builders – finely-crafted code, design and txp
Offline
#17 2011-10-08 10:20:25
- phuture303
- Member
- Registered: 2008-09-14
- Posts: 127
Re: [howto] Use List of Categories as Values for glz_custom_field Dropdown Options
Hi Jakob,
perfect – thank you very much!
:-D
Offline
Re: [howto] Use List of Categories as Values for glz_custom_field Dropdown Options
This is just wonderful. Thanks, Kevin!
Offline
#19 2013-11-26 18:05:26
- gfdesign
- Member

- From: Argentina
- Registered: 2009-04-20
- Posts: 401
Re: [howto] Use List of Categories as Values for glz_custom_field Dropdown Options
Sorry if I post my consultation here too, but it’s related to this topic in some way.
I have an issue with a custom field created with glz_custom_field. This field is based on a custom script (such as this topic explains us, similar to my_images.php script that glz_custom_field brings as example).
With this new custom field, I no have any control using “bot_write_tab_customize” to hide or arrange to other position. It would seem this issue is due to just “glz_custom_field_script” fields.
I just want to ask if somebody does have the same problem?
I look forward your comments
Best regards
P/d: I already posted this question into bot_write_tab_customize forum, but I haven’t recieved answer (up to now)
Offline