Direct link (with extensions) when you choose file from FileManager to content block
Permalink
If it's important for you to have absolute path to files (with extensions), when you adding files as a link from File Manager (Choose option) to content block, you have to modify this file:
concrete/blocks/content/editor_init.php
and replace strings: "filePath" to "filePathDirect"
Of course the best way is to copy "content" folder to "blocks" in concrete's root and edit from there.
For my it was necessary to run bumpbox from content block type, because this script needs to recognize file extension.
--
best regards
peter
concrete/blocks/content/editor_init.php
and replace strings: "filePath" to "filePathDirect"
Of course the best way is to copy "content" folder to "blocks" in concrete's root and edit from there.
For my it was necessary to run bumpbox from content block type, because this script needs to recognize file extension.
--
best regards
peter
if you stick this in the site.php
it disables that, so its like using realative paths