Jump to content

[FIX] UrgentCourier module for PrestaShop 1.5.x for tinyMCE text editor error


Recommended Posts

UrgentCourier team showed me very friendly how to solve this jquery problem conflict.

 

After you install their module go to /modules/urgentcurier/urgent_curier/admin_autocomplete.tpl

and delete lines 3 & 4

<script src="{$smarty.const.__PS_BASE_URI__}modules/urgentcurier/autocomplete/jqueryui.min.js"></script>
<script src="{$smarty.const.__PS_BASE_URI__}modules/urgentcurier/urgent_curier/admin_autocomplete.js"></script>

then add to adminfolder/tabs/AdminUrgentCurierAwb.php

<script src="/modules/urgentcurier/autocomplete/jqueryui.min.js"></script>
<script src="/modules/urgentcurier/urgent_curier/admin_autocomplete.js"></script>

right before line 

<h3>Urgent Curier Online - EDITEAZA LIVRARE</h3>

and add to adminfolder/tabs/AdminUrgentCurierPuncte.php

<script src="/modules/urgentcurier/autocomplete/jqueryui.min.js"></script>
<script src="/modules/urgentcurier/urgent_curier/admin_autocomplete.js"></script>
right before line
<div class="entry-edit" style="float: right; width: 39%;">

 

Link to comment
Share on other sites

in case your magazine folder is not the same as html root folder you need to make few other changes for locality autocomplete to work.

 

change the two url path into /modules/urgentcurier/urgent_curier/admin_autocomplete.js

from:

/modules/urgentcurier/autocomplete/...

to

/your_mag_folder/modules/urgentcurier/autocomplete/...

and the two url path into /modules/urgentcurier/autocomplete/ug_autocomplete.js

from:

/modules/urgentcurier/autocomplete/...

to

/your_mag_folder/modules/urgentcurier/autocomplete/...
Edited by Bibi40k (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...