DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:type_dropdown

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
plugin:struct:type_dropdown [2016-08-25 16:34] – [Struct Plugin: Type Dropdown] andiplugin:struct:type_dropdown [2016-11-01 10:22] (current) andi
Line 2: Line 2:
 ====== Struct Plugin: Type Dropdown ====== ====== Struct Plugin: Type Dropdown ======
  
-The ''Dropdown'' type allows you to specify a list of values that can be selected or pull them from a configured lookup schema. When the type is set to ''Multi'' multiple values can be selected.+The ''Dropdown'' type allows you to specify a list of values that can be selected.
  
-When using a lookup schema you can reference different fields based on the language using the ''$LANG'' variable which might be useful for multilingual wikis using the [[plugin:translation|Translation Plugin]].+When the type is set to ''Multi'' multiple values can be selected. 
 + 
 +If you want to use data from another schema as values, use the [[type_lookup|Lookup]] type.
  
 ===== Configuration ===== ===== Configuration =====
Line 12: Line 14:
 ^ Config  ^ Format  ^ Description                                                                                            ^ ^ Config  ^ Format  ^ Description                                                                                            ^
 | values  | string  | A comma separated list of values to pick from. Ignored if ''schema'' and ''field'' below are defined.  | | values  | string  | A comma separated list of values to pick from. Ignored if ''schema'' and ''field'' below are defined.  |
-| schema  | string  | A lookup schema to pull the values from                                                                | 
-| field   | string  | The field of the above schema to use as value display. Use ''$LANG'' placeholder to refer to a language dependent field                                                | 
  
  
  
  
plugin/struct/type_dropdown.1472135697.txt.gz · Last modified: 2016-08-25 16:34 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki