Plugin List, adding an inline edit icon if there is no result
Hello,
On a Tiki22 I set a plugin List embedded in another plugin using a smarty template.
I have a field that is set to be editable inline. As long as I have a value in this field all is working fine.
However if there is no result for a row (the value for this field is empty) then the alternate code is displayed and I can’t edit, add a value. I tried:
- Add a condition in the output template, but when no result it is not going there
- Tried to add a link to open a modal for this item (each one found) but couldn’t get the object_id of the sub-resulted item (it is embedded).
Any ideas ? (I want to stay on the page)