Please,
I need to open a thickbox with images from a page create by css.
No problem in code, I can integrate in cms.php or cms.tpl,
but I can't call the thickbox.
Tks
PS I followed this post but don't work for me:
http://www.prestasho...iewthread/6133/
Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.
Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
[Solved] Help: How to open a ThickBox from a CSS page in 1.1?
Started by disarci, Jan 14 2009 05:02 PM
[Solved] Help: How to open a ThickBox from a CSS page in 1.1?
#2
Posted 14 January 2009 - 06:36 PM
in .php file:
in .tpl file:
Calling cms.php:
$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}
Calling cms.php:
{l s='(read)'}
Al mondo ci sono 11 tipi di persone: quelli che capiscono/non capiscono il codice binario e quelli che trovano tutti i moduli su prestamodules :P
-- Realizzo moduli e personalizzazioni per prestashop --
-- Realizzo moduli e personalizzazioni per prestashop --
#4
Posted 16 April 2009 - 08:38 AM
Is the file in the root dir?
Al mondo ci sono 11 tipi di persone: quelli che capiscono/non capiscono il codice binario e quelli che trovano tutti i moduli su prestamodules :P
-- Realizzo moduli e personalizzazioni per prestashop --
-- Realizzo moduli e personalizzazioni per prestashop --
#5
Posted 16 April 2009 - 11:28 AM
The reason that I want to have the thickbox in cms is because I want a picture with thickbox popup when you click a text link. I do not know how I can do it correct.
#6
Posted 16 April 2009 - 11:46 AM
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:
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:
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users

















