Ok,
it’s different:
you have to put (like Vino said)
in .php file:
$css_files = array(PS_BASE_URI.‘css/thickbox.css’ => ‘all’);
$js_files = array(PS_BASE_URI.‘js/jquery/thickbox-modified.js’);
/**
BEFORE INCLUDE HEADER!!!! **/
include(dirname(
FILE).’/header.php’);
in .tpl file:
{include file=$tpl_dir./thickbox.tpl}
But you can’t do it from the CMS page (html) because it will be filtered, you have to enter directly in sql:
example:
<p><a href="/web/upload/test-01.jpg" class="thickbox" rel="test"><img src="/web/upload/test-01.jpg" border="0" alt="Plant 1"></a></p>
<div style="visibility: hidden;"><a href="/web/upload/test-02.jpg" class="thickbox" rel="test"><img src="/web/upload/test-02.jpg" border="0" alt="Plant 1" height="2"></a> <a href="/web/upload/test-03.jpg" class="thickbox" rel="test"><img src="/web/upload/test-03.jpg" border="0" alt="Plant 1" height="2"></a> <a href="/web/upload/test-04.jpg" class="thickbox" rel="test"><img src="/web/upload/test-04.jpg" border="0" alt="Plant 1" height="2"></a></div>