Created on 23 November 2011, almost 13 years ago
Updated 29 March 2023, over 1 year ago

The list of potential subscribers can get rather long (see this 'before' image).
If the fieldset had an id, it could be targeted with the following CSS rule to collapse the long list into several columns (see 'after' image):

#subscribed-box .form-item { 
  display: inline-block; width:100px; margin:0; 
}

One way to insert the id is to modify the support_subscribe_form function as follows:

function support_subscribe_form(&$form_state, $edit, $title) {
[...]
    $form['subscribe']['subscribed'] = array(
      '#type' => 'fieldset',
      '#title' => t('Subscribed'),
      '#collapsible' => TRUE,
      '#collapsed' => TRUE,
      '#prefix' => '<div id="subscribed-box">',
      '#suffix' => '</div>',
    );

The new #prefix and #suffix lines wrap the fieldset, so it can be identified within CSS

Feature request
Status

Closed: outdated

Version

1.5

Component

Code

Created by

🇩🇪Germany gogowitsch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024