kdk Posted December 18, 2008 Share Posted December 18, 2008 How do I include the thickbox? I did id now this way in the authentication.tpl:{include file=$tpl_dir./thickbox.tpl} (line 2){l s='Ich habe die Datenschutzbestimmung gelesen.'} {l s='(Datenschutzbestimmung lesen)'}and in the mentions.tpl:{if $thickbox} {l s='Legal'} {else}{capture name=path}{l s='Legal'}{/capture}{include file=$tpl_dir./breadcrumb.tpl}{l s='Legal'} {/if}and in the mentions.php:if (Tools::getValue('thickbox')){ include(dirname(__FILE__).'/init.php'); $smarty->assign('thickbox', true);}elseBut this didnt work. Any suggestions? Thank you. Link to comment Share on other sites More sharing options...
ruilong Posted December 18, 2008 Share Posted December 18, 2008 check the .php files for those .tpl files $js_files = array(__PS_BASE_URI__.'js/jquery/thickbox-modified.js'); and $css_files = array(__PS_BASE_URI__.'css/thickbox.css' => 'all'); should be included also Link to comment Share on other sites More sharing options...
kdk Posted December 18, 2008 Author Share Posted December 18, 2008 thanks you very, very much. this works for me. Link to comment Share on other sites More sharing options...
ruilong Posted December 18, 2008 Share Posted December 18, 2008 I'm happy I could help please change the subject to include [solved] in the headline so it gets easier to find the solutions to various questions Link to comment Share on other sites More sharing options...
kdk Posted January 6, 2009 Author Share Posted January 6, 2009 Sorry for another question. I was too fast, it doesnt work well.I always have the header and the right and left columns in the pop-up. Only the background-color is removed or overwritten. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now