Index: signup.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/signup/signup.module,v retrieving revision 1.144 diff -u -r1.144 signup.module --- signup.module 10 Aug 2008 05:56:38 -0000 1.144 +++ signup.module 4 Sep 2008 19:16:43 -0000 @@ -1272,6 +1272,7 @@ $form['adv_settings'] = array( '#type' => 'fieldset', '#title' => t('Advanced settings'), + '#weight' => 5, '#collapsible' => true, '#collapsed' => true, ); @@ -1297,7 +1298,9 @@ // Use our own submit handler, so we can do some processing before // we hand control to system_settings_form_submit. $form['#submit']['signup_settings_page_submit'] = array(); - return system_settings_form($form); + $final = system_settings_form($form); + $final['buttons']['#weight'] = 10; + return $final; } /** Index: signup_views.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/signup/signup_views.inc,v retrieving revision 1.9 diff -u -r1.9 signup_views.inc --- signup_views.inc 16 Oct 2007 19:39:30 -0000 1.9 +++ signup_views.inc 4 Sep 2008 19:16:43 -0000 @@ -516,3 +516,27 @@ return $views; } + +function signup_views_url_tokens() { + return array( + '$signup' => 'signup_url_node', + ); +} + +function signup_url_node($token, $argument, $arg) { + if (!is_numeric($arg)) { + return FALSE; + } + + $node = node_load($arg); + if (!$node) { + return FALSE; + } + + // This node is signup enabled + if($node->signup) { + return TRUE; + } + + return FALSE; +} \ No newline at end of file