Jump to content

[solved] How to change or edit Permanent links block?


Recommended Posts

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

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)

  • Like 1
Link to comment
Share on other sites

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...