Now that #397218: Decouple Admin UI and support "foreign" UIs is done, one of the best routes to pushing this feature forward is with an example. The simplest one I can think of is to put a checkbox on a node/#/edit pages that enables/disables comment notifications for the author (later, support for this could be enabled/disabled on the content type administration page).

Anyone up for this?

Comments

fago’s picture

Hm, yep but couldn't this be handled with the flag module? I think it even supports the checkbox. Perhaps you can think of another example, not doable right now?

mitchell’s picture

Title: Provide example foreign UI: comment notifications » Provide example foreign UI
Issue tags: +rules 1.0
mitchell’s picture

Component: Miscellaneous » User interface
mitchell’s picture

Status: Active » Fixed
mitchell’s picture

Status: Fixed » Active

Here's an example from shushu's domain_rules.rules_forms.inc:

  $form['settings']['valid'] = array(
    '#type' => 'radios',
    '#title' => t('Domain status'),
    '#options' => array(1 => t('Active'), 0 => t('Inactive')),
    '#default_value' => 1, // TODO configurable default ? 
  );

Would it be possible to use an array of views items instead of the provided active and inactive?

mitchell’s picture

Status: Active » Fixed

See Drupal Commerce.

Status: Fixed » Closed (fixed)
Issue tags: -rules 1.0

Automatically closed -- issue fixed for 2 weeks with no activity.