Hi Everyone,
I am developing a plugin for elgg 3.3.1.
In the setting page of the plugin, I have the following input field.
echo elgg_view_field([
'#type' => 'fieldset',
'legend' => elgg_echo('settings:pessek:categories'),
'fields' => [
[
'#type' => 'tags',
'#help' => elgg_echo('settings:pessek:categories:help'),
'name' => 'params[pessek_categories]',
'value' => $entity->pessek_categories,
],
],
]);
ELGG.ERROR: Plugin settings cannot store arrays
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 1 like
- Hermand Pessek@rheman
Hermand Pessek - 0 likes
You must log in to post replies.1. Create a custom action where serialize() these values.
or
2. Create a custom input/categories (same as input/tags but w/o output's view) and use it.
Thanks a lot