[contributions(DRUPAL-5):jrbeeman] /modules/signup_status/hooks signup_status.php /modules/signup_status signup_status.info signup_status.install signup_status.module
User: jrbeeman Branch: DRUPAL-5 Date: Mon, 31 Dec 2007 21:02:36 +0000 Modified files: /modules/signup_status/hooks signup_status.php /modules/signup_status signup_status.info signup_status.install signup_status.module Log message: (Junk commit to actually get the commit message through :-p ) First stab at getting the various status codes working in the signup form. This modifies the node edit form's signup fields, removing the signup limit field and replacing it with n number of fields, where n equals the number of status codes defined as modifying the total signup limit. "Approved" is the default state for new signups. This will essentially allow wait listing to work, once I've written the logic to handle automatically transitioning users to the "Approved" state when other users drop their signup. There are a few things that had to change as a result of this - for example, users can no longer update the signup limit on the "signups" tab. I hope to address this by allowing users to update the signup limit for each status code on the "signup status" tab at a later point in time. Most of the new stuff isn't documented in the API yet, but I'll do that later today. It's worth pointing out existing methods that have changed, though: - signup_status_codes now accepts the $mod_only parameter, to only return codes that modify the signup total - signup_status_get_signups now only takes $nid, instead of the whole node object. - signup_status_update_signup_status no longer takes the $curr_cid parameter (not sure why I had that in there, anyways) Links: http://cvs.drupal.org/diff.php?path=contributions/modules/signup_status/hook... http://cvs.drupal.org/diff.php?path=contributions/modules/signup_status/sign... http://cvs.drupal.org/diff.php?path=contributions/modules/signup_status/sign... http://cvs.drupal.org/diff.php?path=contributions/modules/signup_status/sign...
participants (1)
-
drupal-cvs@drupal.org