- Fixed left-over from reversing widget-procs.tcl- Moved attribute instantiation to a Tcl callback (because we now support per-category custom fields)- Working on www/index.tcl
- Guess I forgot a couple switches. Added to documentation.- Also added an explanation for the -validate block.- Copied a snippet about -extend from HEAD.
- Updated ad_form's documentation with all the switches it currently supports.- Added clarifications about the -on_request and -on_submit blocks.- Added note telling the user s/he must get familiar with the ATS to be able to the ad_form effectively.
- Thanks to the invaluable help from daveb, custom fields now working, including updating of values, which wasn't working in the original version, so fixed that bug too.
- Thanks to the invaluable help from daveb, custom fields now working, including updating of values, which wasn't working in the original version, so fixed that bug too.- Revert widget-procs.tcl to generating template::element calls instead of an ad_form -extend block, because that gives users customizing the package (in the future) to have their own -validate block in the ad_forms present.
- Problems with ad_form (custom element not visible)- Modified get_widget_param to generate ad_form statements instead of template::element::create in attempt to fix the problem. Worked partially.- Modified ad-one accordingly.Now the problem seems to be that a custom element is available in the-edit_request block, but for some reaons that element (which wasadded through ad_form -extend) is not available in the -edit_data block.Does anyone know why??
- Added procs to get context trail for ads.- ad_one displays and edits ads.- ad-delete with confirmation (still needs work).- categories.* now link ads to ad-one- Everything ad_form'ized.
I sped up the code Peter Marklund wrote to automatically resolve packagedependencies (so you don't need to check off every package you need) by, oh,a couple of orders of magnitude for large dependency lists.This code could be cleaned up a *log* and probably made faster as a resultbut I'm satisified with this speed-up for now.
- Fixing ads::new- Reformatted classified-ads-procs.tcl for legibility- ad-new will be merged into ad-one which will take care of adding, editing and displaying ads.- Improved category administration.
- Added @see line for template::util::richtext. What I'm wondering is why did Lars put it in template::util::richtext instead of template::widget::richtext, and if it doesn't show up in template::widget, how does it find it? Another chapter of "OpenACS Secrets Revealed".