We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beispiel Medialist auf Basis
$MediaList1 = rex_var_medialist::getWidget($id, $name, $value, $args);
The text was updated successfully, but these errors were encountered:
Mein Beispiel - ist aber ohne $args:
$args
$formElements = []; $n = []; $n['label'] = '<label for="REX_MEDIALIST_SELECT[1]">' . $this->i18n('demo_medialist_text') . '</label>'; $medialist = $this->getConfig('demo_medialist'); $n['field'] = rex_var_medialist::getWidget(0, 'config[demo_medialist]' ,$medialist); $formElements[] = $n; $fragment = new rex_fragment(); $fragment->setVar('elements', $formElements, false); $content .= $fragment->parse('core/form/container.php');
Und speichern mit
if (rex_post('formsubmit', 'string') == '1') { $this->setConfig(rex_post('config', [ ['demo_medialist', 'string'], ]));
Sorry, something went wrong.
#55
aeberhard
No branches or pull requests
Beispiel Medialist auf Basis
The text was updated successfully, but these errors were encountered: