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
- Joomla field type Media to show PDF's
I just want to be able to to select a pdf file in the new joomla field "media" type. You can apply a hack as shown here
https://forum.joomla.org/viewtopic.php?f=620&t=700953&p=3314978&hilit=field+pdf#p3314978
Just go to:
administrator/components/com_media/models/list.php
line:
~ 157
add:
case 'pdf':
BUT that is overwritten when JCE is activated in the backend. So if I could specify extra file types in in JCE I wouldn't need a hack. I've tried adding pdf to image file types in image manager extended but pdfs not showing. Is there a workaround? I feel like it's so close..
have asked on Joomla forum here
https://forum.joomla.org/viewtopic.php?f=706&t=952091
https://forum.joomla.org/viewtopic.php?f=620&t=700953&p=3314978&hilit=field+pdf#p3314978
Just go to:
administrator/components/com_media/models/list.php
line:
~ 157
add:
case 'pdf':
BUT that is overwritten when JCE is activated in the backend. So if I could specify extra file types in in JCE I wouldn't need a hack. I've tried adding pdf to image file types in image manager extended but pdfs not showing. Is there a workaround? I feel like it's so close..
have asked on Joomla forum here
https://forum.joomla.org/viewtopic.php?f=706&t=952091
If you are using the media field type in a custom extension, you can specify a filter value, eg:
<field
name="my_media"
type="media"
label="Media"
description="My media field"
filter="jpg,jpeg,png,gif,pdf"
/>
Just because you're not paranoid doesn't mean everybody isn't out to get you.
more than a month ago
·
#111342
If you are using the media field type in a custom extension, you can specify a filter value, eg:
<field
name="my_media"
type="media"
label="Media"
description="My media field"
filter="jpg,jpeg,png,gif,pdf"
/>
Are you sure? I does not seem to change anything. Still only image files selectable (Joomla 3.x)
goslingcools
selected the reply #111343 as the answer for this post — 1 year ago
- 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!