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
- JCE Plugins / Addons
- How to configure the mediajce field plugin?
Support is currently Online
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Hi.
Is it possible e.g. to define a text for the link to click to a PDF? I have defined such text in the Field Parameter Description option (the second last of the General tab) but it is always the file name that appears. I created a substitution and replaced $element = '<a href="%s"%s>%s</a>'; in line 91 by $element = '<a href="%s"%s>'. $text. '</a>'; but it doesn’t work and the target doesn’t work anymore.
I had to set the text to line 82 $text = ' and replaced %s with the desired target.
Also, would it be possible to define a path so that the user only has access to a specific subfolder?
Thank you very much in advance for your help.
Is it possible e.g. to define a text for the link to click to a PDF? I have defined such text in the Field Parameter Description option (the second last of the General tab) but it is always the file name that appears. I created a substitution and replaced $element = '<a href="%s"%s>%s</a>'; in line 91 by $element = '<a href="%s"%s>'. $text. '</a>'; but it doesn’t work and the target doesn’t work anymore.
I had to set the text to line 82 $text = ' and replaced %s with the desired target.
Also, would it be possible to define a path so that the user only has access to a specific subfolder?
Thank you very much in advance for your help.
I have defined such text in the Field Parameter Description option (the second last of the General tab) but it is always the file name that appears.
This is intended for a generic description word like "Download". If you leave this value blank, then the filename of the PDF will be used for the link text.
It is not currently possible to change this, but an update in the new year will add a text field for each media field.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Thank you. It doesn't work as expected : https://dev.artisan-du-web.ch/samare.ch/voyages/toscane at the bottom of the page you can see the filename.
On printscreen, you can see the description parameter.
On printscreen, you can see the description parameter.
Please try JCE Pro 2.9.33 Beta - https://www.joomlacontenteditor.net/downloads/editor/pro/development
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!