Can't add Javascript in Restaurant Description.
- Daniel
- Offline
- Administrator
-
28 Dec 2016 11:53 #3561
by Daniel
Thanks
Daniel
Replied by Daniel on topic Can't add Javascript in Restaurant Description.
Hello,
Thanks for the valuable suggestion, It will be considered in next release
Thanks for the valuable suggestion, It will be considered in next release
Thanks
Daniel
Please Log in to join the conversation.
- Quantility s.r.l.
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 26
28 Dec 2016 11:31 #3559
by Quantility s.r.l.
Replied by Quantility s.r.l. on topic Can't add Javascript in Restaurant Description.
Thanks, it works 
I think could be an improvement to add a choice in configuration for enabling SAFEHTML in Frontend and or in backend. Typically in Backend only who have access to administration can add other code.
I think could be an improvement to add a choice in configuration for enabling SAFEHTML in Frontend and or in backend. Typically in Backend only who have access to administration can add other code.
Please Log in to join the conversation.
- Daniel
- Offline
- Administrator
-
23 Dec 2016 14:31 #3548
by Daniel
Thanks
Daniel
Replied by Daniel on topic Can't add Javascript in Restaurant Description.
Hello,
SAFEHTML filter is applied in editor filed. To change it to 'RAW' you need to update filter attribute in editor field of the following XML files:
ROOT/administrator/components/com_vrestaurants/models/forms/restaurant.xml
ROOT/components/com_vrestaurants/models/forms/addrestaurant.xml
SAFEHTML filter is applied in editor filed. To change it to 'RAW' you need to update filter attribute in editor field of the following XML files:
ROOT/administrator/components/com_vrestaurants/models/forms/restaurant.xml
ROOT/components/com_vrestaurants/models/forms/addrestaurant.xml
Thanks
Daniel
Please Log in to join the conversation.
- Quantility s.r.l.
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 26
23 Dec 2016 11:49 #3547
by Quantility s.r.l.
Can't add Javascript in Restaurant Description. was created by Quantility s.r.l.
We need to add widgets like facebook and tripadvisor review in the description (your plugin don't have custom fields) but the editor remove all JS script code, url, etc. I have just checked editor and joomla settings about text filters, but all is ok. (we can add easily code to out article).
Maybe your component has another filter for restaurant descriptions?
Thanks!
Maybe your component has another filter for restaurant descriptions?
Thanks!
Please Log in to join the conversation.