Plugin LIST with 'Icons' field + in-line edit
Mike Finko wrote:
Continuing the series on LIST...
I set up the tracker field type 'Icons' to work correctly with LIST (and the connected List Execute), however, when I add
- editable="inline"
it doesn't quite work - it displays the 'in-line' edit, I choose the icon, but then gets stuck on the image and never actually 'saves'.
Most likely I have not configured the LIST statement correctly.
I tried:
- {FORMAT(name="IconFieldName")}{display name="tracker_field_IconFieldName" default=" " format="trackerrender" editable="inline" }{FORMAT}
The closest I could find in the Docs was the example about 'gender' icons:
- https://doc.tiki.org/PluginList-format-control-block#Using_Font_Awesome_icons_instead_of_content_depending_on_the_value_of_the_field_content_2
- specifically: {FORMAT(name="gender")}{DIV(type=i class=fa fa-{display name="tracker_field_gender"})}{DIV}{FORMAT}
- however I don't believe this is my use case, I have two icons in the Icons Tracker field, a 'square' and 'check-square' (Font Awesome).
I tried a few variations on the 'DIV' statement, but to no avail.
Any recommendations?
TIA,
Mike
I have a working exemple here: http://bsfez-11581-7702.show2.tikiwiki.org