Script code gets distorted when applying a layout override

  • Posts: 5
  • Thank you received: 0
4 years 6 months ago #311393

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.12
-- PHP version -- : 7.2.20
-- Browser(s) name and version -- : Chrome 77.0.3865.90

When we apply an override (from the Hikashop backend) to the show_block_fields view (checkout) the inline javascript on the page in the browser gets 'distored'. This is really weird...

The script tags looks like this after adding the override:

<s-cript> type = 'text/j-avascript">

Some hypens are add. Ans nog the scipt shows up as content on the page. Not what we want ;-)

I have tried it on two different sites with the same result. On different servers.

The script is actually present that way in the html template override folder in the template folder. So this somehow happens when Hikashops writes the code to the template folder. I have bene able to coreect this in the ovveride 'manually' but only for the first javascipt part. I can not find the second piece in this override file.

Any thoughts?

Kind regards,
Jip

Attachments:
Last edit: 4 years 6 months ago by jjonker.

Please Log in or Create an account to join the conversation.

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
4 years 6 months ago #311397

Hi,

That's not something done by HikaShop but by a security extension on your website or a security module of your server.
You should deactivate that or do the overrides differently (via the Joomla override system or via FTP).

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
4 years 6 months ago #311434

OK thanks Nicolas, I will try to override 'manually' for now.

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum