- Support Forum
- /
- Main Forum
- /
- Joomla Extensions Support
- /
- vRestaurant
- /
- Can't add Javascript in Restaurant Description.
Can't add Javascript in Restaurant Description.
- Daniel
-
- Offline
- Administrator
-
Hello,
Thanks for the valuable suggestion, It will be considered in next release
Thanks
Daniel
Please Log in or Create an account to join the conversation.
- Quantility s.r.l.
-
Topic Author
- Offline
- Junior Member
-
- Posts: 26
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.
Please Log in or Create an account to join the conversation.
- Daniel
-
- Offline
- Administrator
-
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
Thanks
Daniel
Please Log in or Create an account to join the conversation.
- Quantility s.r.l.
-
Topic Author
- Offline
- Junior Member
-
- Posts: 26
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!
Please Log in or Create an account to join the conversation.