jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: vodko-beer on 31.12.2017 13:11:35

Title: Custom fields does not save HTML
Post by: vodko-beer on 31.12.2017 13:11:35
When you save from the Admin panel

jDownloads Version 3.2.56
Field type: 256 characters
Sample text:
<a href="travel/827.html">Name-link-site</a>

Joomla settings Administrator and Super Users - No filtering
Default editor - None

In the previous version JD, HTML was built!

Thanks!  :)
Title: Re: Custom fields does not save HTML
Post by: ColinM on 04.01.2018 01:32:14
Hi,
Could you please explain a bit more as I do not understand.
When you say
QuoteIn the previous version JD, HTML was built!
which version do you mean?
Also when you refer to 'custom fields' do you mean the jDownloads "Custom Data Fields"?
Colin
Title: Re: Custom fields does not save HTML
Post by: vodko-beer on 04.01.2018 09:54:33
Yes, data in the field: jos_jdownloads_files.custom_field_6

I solved my problem by saving the data in the field `jos_jdownloads_files.url_home` and `author`
Title: Re: Custom fields does not save HTML
Post by: ColinM on 04.01.2018 18:30:39
Hi
This was not a bug but related to a fix which was a potential security risk in allowing unregulated HTML code to be executed.  That is it is an enhancement.
In the layout using
{author_title} {author_text}  -- will give the author's email that would appear like "Author Colin (me@nowhere.com) "  in front end
{author_url_title} {author_url_text} -- will give the author's website that would appear like "Website Website (http://www.botley.com/jda1/components/com_jdownloads/assets/images/link_extern.gif)" in the front end
These two are specific entry pairs allowing links rather than any HTML.

Colin