kdk Posted January 7, 2009 Share Posted January 7, 2009 I try to build in the "mentions" like the "conditions".I did now this: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); } else in the php-files i add this: $js_files = array(__PS_BASE_URI__.'js/jquery/thickbox-modified.js'); $css_files = array(__PS_BASE_URI__.'css/thickbox.css' => 'all'); It works nearly fine, but i have the header and the sidebars in the thickbox. Link to comment Share on other sites More sharing options...
kdk Posted January 7, 2009 Author Share Posted January 7, 2009 Hm, I've made a new mentions.php without the header. It works now for me. Not the best solution, but a solution. 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