Insert a short code in an article linking to a file

Phoca Download - download manager
User avatar
fabio42
Phoca Enthusiast
Phoca Enthusiast
Posts: 86
Joined: 09 Oct 2018, 16:39

Insert a short code in an article linking to a file

Post 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
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10077
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post 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
User avatar
fabio42
Phoca Enthusiast
Phoca Enthusiast
Posts: 86
Joined: 09 Oct 2018, 16:39

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

Post 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!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10077
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post 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
User avatar
fabio42
Phoca Enthusiast
Phoca Enthusiast
Posts: 86
Joined: 09 Oct 2018, 16:39

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

Post 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!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10077
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post by Benno »

Hi,
yes, I think so... :idea:

Kind regards,
Benno
User avatar
christine
Phoca Hero
Phoca Hero
Posts: 2965
Joined: 28 Nov 2010, 17:20

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

Post by christine »

Hi Fabrice,

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

Kind regards
Christine
User avatar
fabio42
Phoca Enthusiast
Phoca Enthusiast
Posts: 86
Joined: 09 Oct 2018, 16:39

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

Post by fabio42 »

Hi Christine,
The issue is being investigated on. I'll keep you updated.😉
User avatar
fabio42
Phoca Enthusiast
Phoca Enthusiast
Posts: 86
Joined: 09 Oct 2018, 16:39

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

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10077
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post by Benno »

Thanks for the info!

Kind regards,
Christine and Benno
Post Reply