andreicosmovici Posted June 12, 2013 Share Posted June 12, 2013 Hi all, In the Module section, the Permanent links block doesn't have any Configure button. In order, for example, to change the link of the Contact Us page to a CMS page. Or, in order to add or delete links, like Sitemap link (which I don't need on my website). Any help appreciated, thanks! Andrei Link to comment Share on other sites More sharing options...
vekia Posted June 12, 2013 Share Posted June 12, 2013 you have to do this manually in the module .tpl files located in the /modules/blockpermanentlinks/blockpermanentlinks-header.tpl (links in header) /modules/blockpermanentlinks/blockpermanentlinks-footer.tpl (links in footer) /modules/blockpermanentlinks/blockpermanentlinks.tpl (links column, left or right) 1 Link to comment Share on other sites More sharing options...
andreicosmovici Posted June 12, 2013 Author Share Posted June 12, 2013 In the /modules/blockpermanentlinks/blockpermanentlinks-header.tpl file, I commented the following line, <li id="header_link_sitemap"><a href="{$link->getPageLink('sitemap')}" title="{l s='sitemap' mod='blockpermanentlinks'}">{l s='sitemap' mod='blockpermanentlinks'}</a></li> with the following signs, <!-- -->, and the sitemap didn't disapeared, ufortunately. Did I something wrong? Link to comment Share on other sites More sharing options...
vekia Posted June 12, 2013 Share Posted June 12, 2013 if you've got: themes/YOUR_THEME/modules/blockpermanentlinks directory with files - you need to append changes there. turn also force compile on in your prestashop and refresh your front page. its better to use {* *} this as comment method Link to comment Share on other sites More sharing options...
andreicosmovici Posted June 12, 2013 Author Share Posted June 12, 2013 Hi Vekia, I append changes on this file: public_html/themes/warehouse/modules/blockpermanentlinks/blockpermanentlinks-header.tpl, where warehouse is my active template. Unfortunately, nothing changes. I also turned on force compile. What else could be? Anyway, how could I change the default contact link, to link to another cms? Link to comment Share on other sites More sharing options...
vekia Posted June 12, 2013 Share Posted June 12, 2013 you can try to clear cache manually: cache/smarty/cache/ cache/smarty/compile/ 1 Link to comment Share on other sites More sharing options...
andreicosmovici Posted June 12, 2013 Author Share Posted June 12, 2013 Vekia, thanks a lot. Problem solved only now, after manualy cache clear, from cache/smarty/cache/ cache/smarty/compile/. Now, hope there won't be too difficult to add other links to the permanent link blocks. Would be excellent if future releases of PrestaShop will include permanent block link handle directly from within the back office, for easier and quicker modification. Thanks again! Link to comment Share on other sites More sharing options...
vekia Posted June 12, 2013 Share Posted June 12, 2013 you've got right, this module should have own configuration menu. im going to mark this thread as [solved] regards! 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