zaglebie Posted June 28, 2011 Share Posted June 28, 2011 i want to add pages like contact FAQ etc after subcategories listing in my main menu but i dont know how, i've attached screenshot to show what i meanplease help me with this, i added cms pages but don't know how to force prestashop to show links in places that i wanti tried to edit blockcategories tpl etc but no effect Link to comment Share on other sites More sharing options...
unkietee Posted June 29, 2011 Share Posted June 29, 2011 I have just started on the same journey to find a solution for this.I'll let you know if I find anything Link to comment Share on other sites More sharing options...
zaglebie Posted June 29, 2011 Author Share Posted June 29, 2011 i still didnt find solution Link to comment Share on other sites More sharing options...
unkietee Posted June 30, 2011 Share Posted June 30, 2011 Same, no success here either but I am still looking ! Link to comment Share on other sites More sharing options...
unkietee Posted June 30, 2011 Share Posted June 30, 2011 Hey Zaglebie - I've found a work around that seems to work but I am not using the standard 'blockcategories' menu so you may need to implement it a little differently. In saying that I think the code structure is pretty similar.I just opened my default 'blockcategories.tpl' and whacked my sample code in place for you to work with. I know it's crude, but i need a quick fix, hope it helps... <!-- 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} <!-- Fudge new div for CMS items -->TEST CMS <!-- /Fudge new div for CMS items --> {* Javascript moved here to fix bug #PSCFI-151 *} [removed] // <![CDATA[ // we hide the tree only if JavaScript is activated $('div#categories_block_left ul.dhtml').hide(); // ]]> [removed] <!-- /Block categories module --> Link to comment Share on other sites More sharing options...
zaglebie Posted June 30, 2011 Author Share Posted June 30, 2011 hi thanks for help, unfortunately on my custom template this code doesnt work, nothing happens Link to comment Share on other sites More sharing options...
unkietee Posted June 30, 2011 Share Posted June 30, 2011 Ah so if you have a custom template, maybe it's the same scenario as mine, whereby the template is using it's own ***categories.tplIf this is the case you'll need to find the correct tpl in the modules folder to make the change.Is the site live? I can have a quick look and see if i can help? 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