Remove modal.css and modal.js files being called

  • Posts: 152
  • Thank you received: 0
11 years 11 months ago #79101

Hi,

I am now using the Shadowbox plugin to show hikashop images on product pages etc. I notice that hikashop pages still call the default joomla modal files such as:

<link rel="stylesheet" href="/media/system/css/modal.css" type="text/css" />
<script src="/media/system/js/modal.js" type="text/javascript"></script>

Is it possible to disable this? It is no longer required since using Shadowbox.


Create your own style of luxury bespoke furniture online
Last edit: 11 years 11 months ago by plantpotphil.

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #79141

Hi,

It would be difficult to remove the call of modal.
In order to remove the call, you would have to modify the "product/view.html.php" frontend file. So your modification would be lost with the next update/install of HikaShop.
The modal could be use for other features, like address edition in the checkout, so forbidden the inclusion of theses files could break some features.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.052 seconds
Powered by Kunena Forum