I am using JCE Editor Pro 2.7.11 with Joomla 3.9.5
In the back-end I've created an Administrator Custom Module.
After uploading a document with JCE and saving the module, the links in the administrator module are broken.
Testing instructions
Extensions > Modules > [Administrator] > New > Custom
Title: Test
Position: c-panel
Text:
test: + upload a PDF + select to show icon
HTML result:
<p>test: <a class="wf_file" href="https://www.joomlacontenteditor.net/images/dummy.pdf"><img class="wf_file_icon" style="border: 0px; vertical-align: middle; max-width: inherit;" src="https://www.joomlacontenteditor.net/media/jce/icons/pdf.png" alt="pdf" /><span class="wf_file_text">dummy.pdf</span></a></p>
The result
The Control Panel shows the Custom Module, but the links *image + link to download) are broken because Joomla puts /administrator/ in the links:
Could you please add slashes to the hyperlinks so that Joomla won't add /administrator/ to the links?
So like:
href="https://www.joomlacontenteditor.net/images/dummy.pdf"
src="https://www.joomlacontenteditor.net/media/jce/icons/pdf.png"
In the back-end I've created an Administrator Custom Module.
After uploading a document with JCE and saving the module, the links in the administrator module are broken.
Testing instructions
Extensions > Modules > [Administrator] > New > Custom
Title: Test
Position: c-panel
Text:
test: + upload a PDF + select to show icon
HTML result:
<p>test: <a class="wf_file" href="https://www.joomlacontenteditor.net/images/dummy.pdf"><img class="wf_file_icon" style="border: 0px; vertical-align: middle; max-width: inherit;" src="https://www.joomlacontenteditor.net/media/jce/icons/pdf.png" alt="pdf" /><span class="wf_file_text">dummy.pdf</span></a></p>
The result
The Control Panel shows the Custom Module, but the links *image + link to download) are broken because Joomla puts /administrator/ in the links:
Could you please add slashes to the hyperlinks so that Joomla won't add /administrator/ to the links?
So like:
href="https://www.joomlacontenteditor.net/images/dummy.pdf"
src="https://www.joomlacontenteditor.net/media/jce/icons/pdf.png"