Diego Gualdoni Posted December 10, 2018 Share Posted December 10, 2018 Hello everybody, I'm not an expert prestasshop user and before to open this topic I made several researches on line to find the answer to the following question: 1) Where can I edit the url associated with the name of the shop (see attachment)? It is "http://www.mulinidisalisburgo.it/"http://mulinidisalisburgo.it" even it should be http://www.mulinidisalisburgo.it Somewhere I read modifying the db, but it doesn't work Link to comment Share on other sites More sharing options...
musicmaster Posted December 10, 2018 Share Posted December 10, 2018 In the backoffice: Settings -> SEO & Urls. and then scroll down to the third section. The most common error is to fill in a compete url the last field. It should just be "/" or "/mysub/" in the case the shop is in a subdirectory. Link to comment Share on other sites More sharing options...
Diego Gualdoni Posted December 11, 2018 Author Share Posted December 11, 2018 Hello musicmaster, thank you for your hint. However, the settings are already as you suggest. See the attachment. For a odd reason, the shop add "http://mulinidisalisburgo.it" to the basic url set up in the preferences resulting in http://www.mulinidisalisburgo.it/"http://mulinidisalisburgo.it Any help? Link to comment Share on other sites More sharing options...
musicmaster Posted December 11, 2018 Share Posted December 11, 2018 I don't know which PS version you use. But usually the template file for this part of the page is in header.tpl. You should have a look there and play a bit around to understand what is happening there. Link to comment Share on other sites More sharing options...
Diego Gualdoni Posted December 12, 2018 Author Share Posted December 12, 2018 The version is 1.7.4.2, and I modified the file header.tpl located here: mulinidisalisburgo.it/httpdocs/themes/classic/templates/_partials/header.tpl in this way BEFORE <div class="col-md-5 col-xs-12"> {hook h='displayNav1'} </div> AFTER <div class="col-md-5 col-xs-12"> {** {hook h='displayNav1'} *} <br><a href="http://www.mulinidisalisburgo.it">MULINI DI SALISBURGO</a> - <a href="http://www.mulinidisalisburgo.it/index.php?controller=contact">CONTATTACI</a> </div> It is not the best way to fix but it works 🙂 Where I can directly modify the dislayNav1 filed? Thanks for all Link to comment Share on other sites More sharing options...
musicmaster Posted December 12, 2018 Share Posted December 12, 2018 A hook is not a field. It is a place that you can call from the software and insert code into. 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