| Edocs - Quick instructions |
How to use itIt's very easy to embed a document in any content article. Just use the following code:{edocs}path/folder/document.extension,width,height{/edocs}
Example: {edocs}documenti/gretsch_2005_namm_lowres.pdf,600,300{/edocs} If you want to make available a "Download" link, just add the parameter "link" to the previous code: {edocs}documenti/rivista.pdf,600,300,link{/edocs} ![]() To change the text of the download link, edit the plugin parameter "Download link label".
NOTICE: by default edocs will assume as the starting folder images/stories, so everything you add with the standard code will be appended to this default path. To change the default path just edit the plugin parameter "Default root folder" (eg: if I write {edocs}documenti/catalogo.doc,400,500{/edocs} and I leave default parameters into the plugin parameters, the final path will be [ROOT FOLDER]/images/stories/documenti/catalogo.doc).
|



To change the text of the download link, edit the plugin parameter "Download link label".
To change the default path just edit the plugin parameter "Default root folder" (eg: if I write {edocs}documenti/catalogo.doc,400,500{/edocs} and I leave default parameters into the plugin parameters, the final path will be [ROOT FOLDER]/images/stories/documenti/catalogo.doc).