Topic-icon Can't add Javascript in Restaurant Description.

More
28 Dec 2016 11:53 #3561

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.
  • Quantility s.r.l.'s Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
28 Dec 2016 11:31 #3559

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.

More
23 Dec 2016 14:31 #3548

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.
  • Quantility s.r.l.'s Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
23 Dec 2016 11:49 #3547

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.

Cron Job Starts