prestashop_eicmslinks (FR )
The module does not work on version 1.7 of prestashop.
All informations for installation are here : http://www.h-hennes.fr/blog/prestashop-liens-dynamiques-dans-lediteur-tinymce/, (*1)
prestashop_eicmslinks
Add Cms Links tools in tinyMce Editor ( on CmsPage / Products and Products Categories )
It allows you to insert dynamics links to the cms pages / products categories / products., (*2)
In order to make it work after installation you need to configure the admin path, (*3)
, (*4)
Screenshots :
New editor button :
, (*5)
Insert link to cms Page :
, (*6)
Insert link to product category :
, (*7)
Insert link to product :
, (*8)
Insert widget content :
, (*9)
Make working with your own Module :
Open this file : prestashop\admin\themes\default\template\helpers\form\form.tpl, (*10)
Go to line 895 or search "{if isset($tinymce) && $tinymce}" bloc and replace with :, (*11)
{if isset($tinymce) && $tinymce}
{/if}
And put the following in your module before class definition:, (*12)
include_once(dirname(__FILE__) . '/../eicmslinks/eicmslinks.php');
Troubleshooting :
<, (*13)
p>, (*14)
If you try to insert a link to widget, you can have the following error:, (*15)
"The description_short field (English (English)) is invalid.", (*16)
To solve it :
In the class prestashop \classes\product.php line 249, replace "isCleanhtml" with "IsString" for description and description_short field., (*17)