Revision b9e9f59b
Added by Andreas Kohlbecker over 6 years ago
modules/cdm_dataportal/settings.php | ||
---|---|---|
2129 | 2129 |
some feature types (Distribution) also support: SORT_HIERARCHICAL</div> |
2130 | 2130 |
<h6>Element tag:</h6><div>The tag to be used for creating the elements, only applies if "List type" is set to <em>No list</em> |
2131 | 2131 |
possible values are span or div. Developers: The proper inner tag name can be retrieved by the function |
2132 |
cdm_feature_block_element_tag_name()</div>', |
|
2132 |
cdm_feature_block_element_tag_name()</div> |
|
2133 |
<h6>Element glue:</h6><div>This string is used to concatenate individual items together. The glue is ignored when the items are displayed |
|
2134 |
as list.<b>NOTE:</b>The glue is not yet fully implemented for all features and thus may not work as expected, see ' |
|
2135 |
. l('#6831', 'https://dev.e-taxonomy.eu/redmine/issues/6831') . '</div>', |
|
2133 | 2136 |
); |
2134 | 2137 |
|
2135 | 2138 |
|
... | ... | |
2232 | 2235 |
), |
2233 | 2236 |
'#default_value' => $feature_block_setting['element_tag'], |
2234 | 2237 |
); |
2238 |
$form_feature_block_layout[$subform_id]['glue'] = array( |
|
2239 |
'#type' => 'textfield', |
|
2240 |
'#title' => t('Element glue'), |
|
2241 |
'#default_value' => $feature_block_setting['glue'], |
|
2242 |
'#size' => 10 |
|
2243 |
); |
|
2244 |
|
|
2235 | 2245 |
} |
2236 | 2246 |
$form['taxon_profile']['feature_blocks'][FEATURE_BLOCK_SETTINGS] = $form_feature_block_layout; |
2237 | 2247 |
} |
Also available in: Unified diff
ref #6831 feature item glue can be set in the admin UI