butlerov Posted December 2, 2020 Share Posted December 2, 2020 Hi. Tried to put a extra links into topcolumn only for specific categories but inserting below code into header.tpl above breadcrums gives 500 error only. {if $page_name !='index' && $page_name !='pagenotfound' && $smarty.get.id_category = 418 && $smarty.get.id_category = 420} {include file="./new_code.tpl"}{/if} What's wrong? Can someone give a direction? Link to comment Share on other sites More sharing options...
elburgl69 Posted December 2, 2020 Share Posted December 2, 2020 Insert the following in your template to check if you are referencing the correct dir. {$smarty.current_dir} Rg, Leo. 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