FILE_EDITOR

[[FILE_EDITOR:label|filename]]

 

The example below embeds a file editor on the node landing page page which can allow the user to edit the file ../domainname.txt which is located in the node’s parent folder. Paths are relative to the node’s location.

[[FILE_EDITOR:geo|../somedata.txt]]

 

Note: This shortcode will only function on landing page while user is logged in with administrator privileges for security reasons. It will not work on any unsecured public page but is intended only for secured dashboards, back office and maintenance modules.

 

 

Leave a Reply