crisis.sam Posted October 16, 2010 Share Posted October 16, 2010 Hi,I want to display a Link back to the index / home page at the top of category block.So users can easily navigate back to the Home Page.Would anyone have any idea on how I can go about implementing that?Many thanks in advance! Link to comment Share on other sites More sharing options...
rocky Posted October 17, 2010 Share Posted October 17, 2010 Change line 7 of modules/blockcategories/blockcategories.tpl (in PrestaShop v1.3.2) from: > </pre> <ul> to: > </pre> <ul> <a href="{$base_dir}">{l s='Home' mod='blockcategories'} Link to comment Share on other sites More sharing options...
crisis.sam Posted October 17, 2010 Author Share Posted October 17, 2010 Rocky,I can't seem to find that code anywhere in blockcategories.tplDo you have any suggestions?My code shows: [removed][removed] <link href="{$base_dir}modules/blockcategories/ddsmoothmenu.css" rel="stylesheet" type="text/css" media="all" /> <!-- Block categories module --> {l s='Categories' mod='blockcategories'} {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file=$branche_tpl_path node=$child last='true'} {else} {include file=$branche_tpl_path node=$child} {/if} {/foreach} <!-- /Block categories module --> Link to comment Share on other sites More sharing options...
crisis.sam Posted October 17, 2010 Author Share Posted October 17, 2010 I am running a Block Categories module addon, I guess that is whats affecting it. Link to comment Share on other sites More sharing options...
crisis.sam Posted October 17, 2010 Author Share Posted October 17, 2010 Anyone have any further thoughts on this? Link to comment Share on other sites More sharing options...
rocky Posted October 18, 2010 Share Posted October 18, 2010 I didn't know you were using a third-party category module. The code is very similar though. Just change: > </pre> <ul> to: > </pre> <ul> {l s='Home' mod='blockcategories'} Change blockcategories to the directory name of the module. Link to comment Share on other sites More sharing options...
crisis.sam Posted October 21, 2010 Author Share Posted October 21, 2010 My blockcategories.tpl code shows: [removed][removed] <link href="{$base_dir_ssl}/modules/blockcategories/ddsmoothmenu.css" rel="stylesheet" type="text/css" media="all" /> <!-- Block categories module --> {l s='Categories' mod='blockcategories'} {l s='Home' mod='blockcategories'} {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file=$branche_tpl_path node=$child last='true'} {else} {include file=$branche_tpl_path node=$child} {/if} {/foreach} <!-- /Block categories module --> It still isn't working, what seems to be the problem? Link to comment Share on other sites More sharing options...
rocky Posted October 22, 2010 Share Posted October 22, 2010 That should work. Can you provide a link to your site? Link to comment Share on other sites More sharing options...
crisis.sam Posted October 22, 2010 Author Share Posted October 22, 2010 I've managed to fix it, now Thanks for your help Rocky. 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