[opencms-dev] cms:edit for any file
Patric Dosch
patric.dosch at virtual-identity.com
Tue Apr 11 14:01:54 CEST 2017
hey list,
I want to use <cms:edit>. Note, not in a context from a list.
I simply want to have an edit-action for any file I want to edit.
The code is:
<div style="background: red;">
<cms:edit uuid="58fa85eb-8d0e-11e5-ada6-556353e4878f">edit</cms:edit>
</div>
The output is:
<div style="background: red;">
<div class='cms-editable'
rel='{"sitePath":"/.content/section/s_00000.html","elementlanguage":"en","hasDelete":false,"hasNew":false,"newtitle":"Editing
(new
resource)","hasEdit":true,"editId":"ocms_995390","structureId":"58fa85eb-8d0e-11e5-ada6-556353e4878f","elementView":"00000000-0000-0000-0000-000000000000","unreleaseOrExpired":false}'></div>
edit
<div class="cms-editable-end"></div>
</div>
But there is no edit-button displayed.
Does anyone know how to use the tag?
Regards, Patric
--
View this message in context: http://opencms.996256.n3.nabble.com/cms-edit-for-any-file-tp26823.html
Sent from the OpenCMS mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list