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
- Forum
- MediaBox
- JCE Editor
- How can I show a pdf in the latest version of the jce?
This is best done with the File Manager, which can either create a link to the pdf, or embed it in the article using an iframe.
To do this, click on the File Manager button (if the button is not in your editor toolbar, you can add it in Editor Profiles -> Features & Layout. Please see - https://www.joomlacontenteditor.net/support/faq/editor/pro-buttons-missing-after-upgrade)

Select your pdf file by clicking on it's name, then set the Format option to IFrame.

Set a width and a height for the iframe, and any other options you requires, and click the Insert button.
To do this, click on the File Manager button (if the button is not in your editor toolbar, you can add it in Editor Profiles -> Features & Layout. Please see - https://www.joomlacontenteditor.net/support/faq/editor/pro-buttons-missing-after-upgrade)

Select your pdf file by clicking on it's name, then set the Format option to IFrame.

Set a width and a height for the iframe, and any other options you requires, and click the Insert button.

Just because you're not paranoid doesn't mean everybody isn't out to get you.
The screenshot you included in your email is of the default Tinymce editor.
Please see step 4 of the installation instructions - https://www.joomlacontenteditor.net/support/installation/editor
Please do not reply to the notifcation emails sent to you. Only reply to threads in this forum.
Please see step 4 of the installation instructions - https://www.joomlacontenteditor.net/support/installation/editor
Please do not reply to the notifcation emails sent to you. Only reply to threads in this forum.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
I'm trying to show an embedded pdf using JCE, however after embedding the pdf tries to loads in the browser. I get a dialogue box open up by firefox asking how I want to open the file. I want it to show in the actual article. How can I do this?
Thanks,
Actually, it turns out that it is a browser issue. It seems to work perfectly in Chrome, but firefox downloads the article. Any help would still be much appreciated, though.
Actually, it turns out that it is a browser issue. It seems to work perfectly in Chrome, but firefox downloads the article. Any help would still be much appreciated, though.
This is because of Firefox Applications settings.
In Firefox Preferences, search for "pdf" then set the Portable Document Format Content Type to Open in Firefox.

Just because you're not paranoid doesn't mean everybody isn't out to get you.
Hi Ryan
Yes - i have this situation:
I have a folder. Here a user uploads a magazine as a PDF (approx. Every two months). The PDFs are saved on the server as follows:
2021_01_02_Pontonier.pdf
2021_03_Pontonier.pdf
2021_04_Pontonier.pdf
2021_05_06_Pontonier.pdf
and so on ...
Now my question is whether you could always automatically display the latest PDF in the iframe, so that the PDF cannot be manually uploaded to the module or module every time you upload it. needs to be adjusted in JCE.
Yes - i have this situation:
I have a folder. Here a user uploads a magazine as a PDF (approx. Every two months). The PDFs are saved on the server as follows:
2021_01_02_Pontonier.pdf
2021_03_Pontonier.pdf
2021_04_Pontonier.pdf
2021_05_06_Pontonier.pdf
and so on ...
Now my question is whether you could always automatically display the latest PDF in the iframe, so that the PDF cannot be manually uploaded to the module or module every time you upload it. needs to be adjusted in JCE.
No, JCE does not create or update dynamic content in this way. There may be an extension on the JED that process media folders for display - https://extensions.joomla.org/
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Hi, i tried the shown way. I have the same issue in FF. The browser directly starts to save the file. If i do it with TinyMCE everything works fine, also in FF.
The code TinyMCE generates and works like charme looks like this:
I will try to make a snippet (with a RegularLabs Extension) to embed it with JCE. :-) As a workaround.
Best regards
Niko
The code TinyMCE generates and works like charme looks like this:
<p><object data="images/<URL-to-PDF.pdf>" type="application/pdf" width="600" height="400">
Es gibt kein pdf-Plugin, es kann <a download="" href="/images/<URL-to-PDF.pdf>"> die pdf-Datei heruntergeladen werden.</a></object></p>
I will try to make a snippet (with a RegularLabs Extension) to embed it with JCE. :-) As a workaround.
Best regards
Niko
Hi, i tried the shown way. I have the same issue in FF. The browser directly starts to save the file. If i do it with TinyMCE everything works fine, also in FF.
The code TinyMCE generates and works like charme looks like this:
I'm working on updating the File Manager to use the <object> tag for embedding some file types (such as pdf) for the next update.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!