You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#99662 Hyperlink of uploaded file is broken in Administrator Custom Module

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

pe7er
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.
If you upload a document in JCE, the links will become 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 are broken:


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"