CommentFileSizeAuthor
#1 signup_helper.zip2.85 KBHardik C

Comments

Hardik C’s picture

StatusFileSize
new2.85 KB

Hi All,

Please enable this newly created module to resolve this issue.

After enabling this module, you will be able to change the status

Thanks & regards,
Hardik

greggles’s picture

@Hardik C - great work! Could you provide that as a patch?

dww’s picture

Status: Active » Closed (works as designed)

We have both of these filters in the D6 and D7 versions. Not sure why they wouldn't have survived the port to D7, but I haven't looked closely at the D7 port yet.

In the signup.views.inc on both branches, we already have these:

  $data['signup']['status'] = array(
    'title' => t('Status: Open/Closed'),
    'help' => t('Are signups open or closed for this node?'),
    // Information for displaying the field
    'field' => array(
      'handler' => 'signup_handler_field_signup_status',
      'click sortable' => TRUE,
    ),
    // Information for accepting status as a filter
    'filter' => array(
      'handler' => 'signup_handler_filter_signup_status',
      'help' => t('Filter on if signups are open or closed for each node.'),
      'label' => 'Signup status',
    ),
    // Information for sorting on status
    'sort' => array(
      'handler' => 'views_handler_sort',
      'help' => t('Sort by if signups are closed or open.'),
    ),
  );

And this:

  $data['signup']['signup_disabled'] = array(
    'title' => t('Enabled/Disabled'),
    'filter' => array(
      'handler' => 'signup_handler_filter_signup_disabled',
      'help' => t('Filter on if signups are enabled or disabled.'),
      'label' => 'Signups',
    ),
  );

I know they work in D6. If they're not working in D7 for some reason, please reopen with detailed information.

Thanks,
-Derek

Hardik C’s picture

@greggles:

Hi Greg,

Thanks for your comments!!

You can directly add this module to your application's ..sites/all/modules directory and enable this module from modules list page.

I assure you that it will work fine.

Please get back to me for any query.

Regards,
Hardik

dww’s picture

@Hardik: I have a query. Why would anyone install this module if the signup.module already provides these filters directly? Is it just hard to find these filters in the views UI b/c of how they're labeled + described? Do they not actually work in D7? Please explain.

Thanks,
-Derek