Icon Picker Macro
Usage
Where:
| id (optional) | DOM id of the input field where the picker will apply |
|---|---|
| class (optional) | CSS class of inputs where the picker will apply |
| prefix (optional) | Prefix to add before the name of the icon in the input field (default: "image:icon:") |
Live example
<p><label>Field 1: <input type="text" id="myPicker" /></label></p>
<p><label>Field 2: <input type="text" class="fieldWithPicker" /></label></p>
{{/html}}
{{iconPicker id="myPicker" class="fieldWithPicker" prefix="icon:" /}}
Play with it
#panelheader($msg.get("xe.panels.quicklinks"))
- [DSSF 2008>DSSF2008.WebHome]
- [DCNM 2009>DCNM2009.WebHome]
- [HCCF 2010>HCCF2010.WebHome]
- [$msg.get("xe.panels.quicklinks.index")>Main.AllDocs]
- [$msg.get("xe.panels.quicklinks.sandbox")>Sandbox.WebHome]
#if ($xwiki.hasAdminRights())
<p><a href="$xwiki.getDocument("Panels.QuickLinks").getURL("inline")">$msg.get("xe.panels.edit")</a></p>
#end
#panelfooter()