Fantastic!
Allll riiiight! I, for one, am looking FORWARD to this!
I figured that the lessons you were learning from Jobroll would be "rolled" into ClassiPress. I would imagine also Custom Post types.
I saw while I was modding that Checkboxes and the various incarnations of Radio buttons are the same animal as far as storing in an array and wiping out that array if during the later editing process of an Ad the user decides to Un"tick" ALL of those options in either checkboxes or radio buttons.
Pues, a los señores trabajadores, por favor incluya botones de radio, así como casillas de verificación...
Both checkboxes and radio buttons, please.
And, please allow for the checkboxes and radio buttons, of course, to be specified as pre-selected or pre-checked by the Admin as a default that can be unselected or left alone by the user in the form.
That would be very cool.
If you want to use the images of what mine does, you may in the meantime.
On the Ad Display side you SHOULD HAVE A FILTER that distinguishes the Checkboxes and Radio buttons,
--that gives the Admin different ways to Display the output...I made my checkboxes display as unordered lists.
I also created Two Ad functions to be used on the Ad Display page.
One function ONLY loads and displays Non-checkbox Custom fields and formats them the same way as the existing fields function of ClassiPress.
The other, the Checkbox function, looks for every meta_key with a 'cp_checkbox.....' in its name and creates grabs the meta_values and explodes them.
There are also Editing functions so that the Ad user also has a way of completely wiping out that array if the user decides to uncheck all the boxes in a particular checkbox at some later time before re-saving the Ad.
But with a separate Checkbox display function I can split the Ad display into two parts and put the checkboxes below the images.
So, Seth, David, et al, are we having to wait a few months for 3.1 ?