selecting/uploading pdf file #803
Replies: 2 comments 8 replies
-
Sorry @linpi1 I can't say that I have manage that before in any shape or form. Yes I have worked with PDF's and can display them but this is not easy task from my point of view, maybe I just missed something simple as you pointed to JCE as being able to accept PDF's... hmm I am not even sure what you mean by that. How to resolve this?Well JCB just build what Joomla needs to again build your views... forms and stuff. So in the end it is Joomla that display the images... not JCB. Joomla builds the repeatable fields and the media fields and it does it from the XML JCB builds, yet this XML is the Joomla way of doing this... So you could ask this question on the Joomla forum, or on the Joomla stackoverflow to see if anyone there is able to help you out. Should you get and answer somewhere, please share the link here 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi, the media type field only display images by default. It's just how that field is programmed. Do you need upload functionality or just being able to select pdf's? If only selection is needed you could use filelist field type. If you need media manager with pdf capabilities. You could check this tutorial out on how to create a plugin that does the necessary changes to the media manager to allow pdf's to be visible in the modal of the media manager: https://www.richardbutterworth.co.uk/blog/19-the-joomla-media-form-field |
Beta Was this translation helpful? Give feedback.
-
in a repeatable field, I'm using the field media to be able to select/upload pdf files. It works for images, but pdf are not even seen. Where can I tweak some code so pdf are allowed ? thanks for a little hint.
In the website, I'm using the editor JCE, and JCE definitively accepts pdfs.
Beta Was this translation helpful? Give feedback.
All reactions