Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How to add new checkbox above POST button on the right side ?
I’d like to add completly new checkbox above POST button on the right side in write tab. I know that I will need to add also in MySQL new item in table textpattern. But how to add this checkbox?
I need checkbox to display (when checked) posted time and not display if unchecked. I know this could be done trought custom_field but I can´t do this cos all 10 custom_field I’ve got for something else.
Or is there any possibility to add for example 5 new custom_fields ???
Last edited by beztak (2006-04-05 05:50:52)
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline
Re: How to add new checkbox above POST button on the right side ?
There was <a href=“http://textpattern.org/plugins/379/wazadminhidefields”>waz_admin_hide_fields</a>, but it seems to be unavailable. Maybe you can get it from the author.
Otherwise you can hack /textpattern/include/txp_article.php or write a plugin to add either a checkbox or further custom_fields using javascript.
Offline
Re: How to add new checkbox above POST button on the right side ?
Yes, I see. But if I hard coded source I don’t know how to do that to read 0 (unchecked) or 1 (checked) from MySQL to particular article and how to store data in MySQL
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline