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/
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.
In order to make it work after installation you need to configure the admin path
Insert link to product category :
Open this file : prestashop\admin\themes\default\template\helpers\form\form.tpl
Go to line 895 or search "{if isset($tinymce) && $tinymce}" bloc and replace with :
{if isset($tinymce) && $tinymce}
<script type="text/javascript">
var iso = '{$iso|addslashes}';
var pathCSS = '{$smarty.const._THEME_CSS_DIR_|addslashes}';
var ad = '{$ad|addslashes}';
$(document).ready(function(){
{block name="autoload_tinyMCE"}
tinySetup({
plugins : "colorpicker link image paste pagebreak table contextmenu filemanager table code media autoresize textcolor eicmslinks",
toolbar2: "eicmslinks"
});
{/block}
});
</script>
{/if}
And put the following in your module before class definition:
include_once(dirname(__FILE__) . '/../eicmslinks/eicmslinks.php');
If you try to insert a link to widget, you can have the following error:
"The description_short field (English (English)) is invalid."
To solve it :
In the class prestashop \classes\product.php line 249, replace "isCleanhtml" with "IsString" for description and description_short field.