Checkboxes-- a suggestion
I have now modified ClassiPress 3.0.4 to give me checkboxes in my custom fields editor.
It works the same way as the dropdown lists where every value you put in is separated by a comma.
Except, of course, that in the checkboxes if you put 10 options separated by commas then you get one checkbox with 10 boxes and values to check as you wish.
And, when the user wants to edit or change the ad they can see all the checkboxes they have previously selected for their ad. Now they can check other boxes, or unselect/uncheck some boxes before saving again. And if they decide to not use a checkbox they had put checks into before then they can unselect each value and save the ad and that checkbox will not show up in the ad.
With the help of a beta tester today who "needed" to try it on his new website I was able to further modify the code so that it will adapt to any way you have prefixed your tables. And now should work "out of the box" for anyone using PHP 5 and mysql 5.
BUT, it looks like Scarstens and crew are lining up not only checkboxes but radio buttons for 3.1 beta and I will not offer a Tutorial on how to modify your 3.0.4 to get checkboxes.
However, if time keeps passing before 3.1 emerges from the cocoon and you just need all kinds of checkboxes in your forms, then you can PM me and I will send you the files and some instructions.
NOW TO THE DEVELOPERS: I am going to attach a frame grab of a test page display of a single ad.
I created two display functions--- one piece of code goes up in the Custom fields area of the single-default.php and it JUST DISPLAYS every line that is NOT a custom CHECKBOX output.
The other display function goes further down just above the Description and it displays all the relevant CHECKBOXES as Unordered Lists--which I think is the most attractive way to display the output from Checkboxes (rather than lines of text with commas that simply wrap to the next line and keep going).
To the DEVELOPERS when you create Checkboxes and Radio Buttons, give us users the ability to split off the checkboxes and radio buttons as separate chunks of information NOT MIXED with the regular Custom fields.
My attached image shows what I mean.
Gracias.
checkbox.jpg