1. Pascal Devif
  2. Sherlock Holmes
  3. Feature Requests
  4. Thursday, 17 January 2019
  5.  Subscribe via email
for all custom fields output that produce a link it could be very usefull to get option to choose target attribute.

In my case i use JCE editor and i have a custom field with type "mediajce".
I use it to attach a PDF to my articles.
But when this field is displayed by EL there is no way to choose target attribute and PDF always open in my webpage tab, replacing it :( .
Accepted Answer Pending Moderation

I thought the Joomla! field would have allowed this :/ So basically allow setting a _blank and self etc ?

Many thanks
Accepted Answer Pending Moderation
Whatever i now use Advanced Custom Field plugin that allow to create an URL field where these things can be set in field parameter.
So it's solved !
Accepted Answer Pending Moderation
Ok the issue is that we would need to start manipulating that field which would create unnecessary overhead. When in-fact you could tell the field to output a raw value / basic value and then just wrap it as you see fit. If you want to display the full url still, adding two of the same custom fields with wrappers would suffice.

Many thanks
Accepted Answer Pending Moderation
Yes, right !
  • Page :
  • 1

There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Demo Site

You can access our demo at https://demo.easylayouts.net.

You can easily switch EasyLayouts off and on again via a special module on the demo site and can also access the backend to experiment with the layouts. The demo resets every hour so bear in mind that the demo looks a bit odd that someone else may have changed the layouts before you viewed the page.

Keep up to date

Keep up to date with news about EasyLayouts