2 hard mods by necessity
In the last few days I have been forced to mod ClassiPress in 2 areas that I really, really hope will be incorporated into ClassiPress in the near future.
>>> I have so many Parent Categories with one level of sub-categories where I did not want ads posted in the Parent Category without choosing a more specific sub-category. I modded to not only prevent an ad being posted into a Parent Category but to help the Ad Poster by immediately displaying a new drop-down of the specific sub-categories relevant to the Parent Category. So if a new ad poster might have selected a Parent Category the first time instead of the sub-categories below it I wanted them to be able to immediately understand where they were and to coax them to finish by selecting a sub-category in that Parent Category.... I expanded on code suggestions from
kmaisch and
scarstens
The Post Ad Form (Step 1) message displays the Parent Category name if an Ad Poster chose a Parent Category (i.e. "Cars") instead of a sub-category, and asks them to further choose a sub-category of that Parent Category from another dropdown menu that appears.
You have chosen "Cars"
Please select a more specific sub-category from these following choices:
Cars
- Acura
Alfa Romeo
Audi
etc
etc etc
Selecting one of those sub-categories moves on to the appropriate form step.
>>> I also added "Checkbox" to Custom form/Custom fields Type option so that multiple field values need only be comma-separated to produce multiple selectable checkboxes of values for the Form.
I am hoping that a soon-and-coming soon ClassiPress will add similar functions to the core product so that I can go with a core version rather than my core mods.