Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-01-28 18:40:12
- ig0r
- Member
- Registered: 2009-01-26
- Posts: 13
How can I change custom_field from text to checkbox
Hello!
Do somebody know how can i get a custom field which is a checkbox ?
If a add new custom_field from admin preferences – it appears as a text field. The MySQL type of it is varchar (255) maybe I can change it to Enum (0,1) ? But how will I display them in admin panel?
Or I can leave the varchar and putting “1” will be – Yes (checked) nad “0” – No (not checked) But again – haw do I display it in admin panel?
Thank you!
Offline
Re: How can I change custom_field from text to checkbox
Ah, you’ll be wanting glz_custom_fields then.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: How can I change custom_field from text to checkbox
sellhome wrote:
I dont understand
From the link Stef provided
plugin sits under the Extensions tab in the back-end and gives your custom fields new life. You can finally have custom fields that are selects, multi-selects, checkboxes or radios (and the default input fields) and you can predefine some values for those.
The glz_custom_fields plugin gives you this ability.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: How can I change custom_field from text to checkbox
Matt, I think that Sellhome’s is a spam post.
Keith
Blyth, Northumberland, England
Capture The Moment
Offline
Re: How can I change custom_field from text to checkbox
keith wrote:
Matt, I think that Sellhome’s is a spam post.
I didn’t notice the url in the signature. Thanks. I reported the post.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline