Page 1 of 1

Insert a short code in an article linking to a file

Posted: 05 Mar 2026, 18:50
by fabio42
Hello!
I recently discovered that I cannot insert, with my editor (JCE Pro), thanks to the Joomla editor buttons a short code allowing my users to download a file, from within an article.
When I click on the Joomla editor button, I see and click on "Phocadownload File" (tiny green icon looking like a cloud and a download arrow), it opens a window where I can choose whatever I want to integrate in my article. I choose "Link to File", it opens a new window where I can select the file in the whole list of files, then, if I click on "insert code", the window is replaced by my admin welcome page, and nothing is inserted in the article as it should be (for eg: {phocadownload view=file|id=472|target=s} ).
What's going wrong?
Thanks for your help!
Fabrice

Re: Insert a short code in an article linking to a file

Posted: 05 Mar 2026, 20:06
by Benno
Hi,
Which Joomla! version do you use?
Which Phoca Download Component version do you use?
Which Phoca Download Plugin version do you use?
Which Phoca Download Buton Plugin do you use?

Kind regards,
Benno

Re: Insert a short code in an article linking to a file

Posted: 05 Mar 2026, 20:18
by fabio42
Joomla! 5.4.3 Stable [ Kutegemea ] 17-February-2026 16:00 GMT
Phocadownload 6.0.0
Phoca Download Button Plugin 5.0.0
Phoca Download Plugin 6.0.0

Thanks in advance!

Re: Insert a short code in an article linking to a file

Posted: 06 Mar 2026, 00:44
by Benno
Hi,
with TinyMCE it works as expected.

1.) Choose category & file und press 'Insert Code' button:
Image

2.) Code was inserted in article:
Image

3.) Frontend view:
Image

Kind regards,
Benno

Re: Insert a short code in an article linking to a file

Posted: 06 Mar 2026, 15:40
by fabio42
Hey!
Yes, I did test with Tiny MCE and it works fine. So, I'll have to investigate the issue with the JCE pro developers.
Thanks!

Re: Insert a short code in an article linking to a file

Posted: 06 Mar 2026, 15:55
by Benno
Hi,
yes, I think so... :idea:

Kind regards,
Benno

Re: Insert a short code in an article linking to a file

Posted: 06 Mar 2026, 20:07
by christine
Hi Fabrice,

Isn't it "Fixed" under JCE 2.99?
https://www.joomlacontenteditor.net/sup ... log/editor

Kind regards
Christine

Re: Insert a short code in an article linking to a file

Posted: 06 Mar 2026, 20:52
by fabio42
Hi Christine,
The issue is being investigated on. I'll keep you updated.😉

Re: Insert a short code in an article linking to a file

Posted: 07 Mar 2026, 11:33
by fabio42
On the way to be solved 😀. This is the developer's temporary fix:
"The issue is caused by the Protect Shortcode option in Editor Profiles -> Editor Parameters -> Advanced.
Although this is useful for this type of shortcode, you can disable it for now until I can get the issue resolved."
So, this should soon be fixed in a future version.

Re: Insert a short code in an article linking to a file

Posted: 09 Mar 2026, 23:34
by Benno
Thanks for the info!

Kind regards,
Christine and Benno