chorizotpl Posted May 14, 2013 Share Posted May 14, 2013 Help! Somehow the page with id "cms.php?id_cms=3" got deleted in the set up of my website & now I cannot recreate it but the Terms and Conditions link on the bottom left of the home page is hard coded to point to "cms.php?id_cms=3". Any ideas how I can either change this coding to the new id number for the page which would be cms.php?id_cms=9 or change the id number for this page to 3 in the back office>tools>cms part of the back office? Note - I am a very novice PrestaShop user ! Link to comment Share on other sites More sharing options...
vekia Posted May 14, 2013 Share Posted May 14, 2013 hello you use default theme with default modules? Or some external solutions? Can you share the url to your website? Link to comment Share on other sites More sharing options...
chorizotpl Posted May 14, 2013 Author Share Posted May 14, 2013 Its still in development so please excuse the look of it: http://www.sleepersdirect.com.au/ Thanks for any help you can give...... Link to comment Share on other sites More sharing options...
vekia Posted May 14, 2013 Share Posted May 14, 2013 so, it is non-default theme with non-deault modules you should go to the modules -> modules and search for module named: "tmfooterlinks" / footer links after that - try to edit it by clicking on "configure" button Link to comment Share on other sites More sharing options...
chorizotpl Posted May 14, 2013 Author Share Posted May 14, 2013 I've found that module but it has no ability to Configure - just Disable or Reset buttons. Any ideas? Link to comment Share on other sites More sharing options...
vekia Posted May 14, 2013 Share Posted May 14, 2013 in this case you probably have to edit the module .tpl file located in /modules/ directory. Please, log in into your FTP, go to the /modules/ and search for tmfooterlinks module, then open the .tpl file. Paste the code here an we will see what you have to change Link to comment Share on other sites More sharing options...
chorizotpl Posted May 14, 2013 Author Share Posted May 14, 2013 OK - I don't have FTP access right now but will ask the web developer to get me that file & I'll paste the code in later today. Thanks for your help - I very much appreciate it Link to comment Share on other sites More sharing options...
vekia Posted May 14, 2013 Share Posted May 14, 2013 You're welcome We are very close to solving this problem :-) waiting for your code regards Link to comment Share on other sites More sharing options...
chorizotpl Posted May 15, 2013 Author Share Posted May 15, 2013 OK - here it is: <p><div id="tmfooterlinks"> <div> <h4>{l s='Information' mod='tmfooterlinks'}</h4> <ul> <li><a href="contact-form.php">{l s='Contact' mod='tmfooterlinks'}</a></li> <li><a href="cms.php?id_cms=1">{l s='Delivery' mod='tmfooterlinks'}</a></li> <li><a href="cms.php?id_cms=2">{l s='Legal Notice' mod='tmfooterlinks'}</a></li> <li><a href="cms.php?id_cms=3">{l s='Terms and conditions' mod='tmfooterlinks'}</a></li> <li><a href="cms.php?id_cms=4">{l s='About us' mod='tmfooterlinks'}</a></li> </ul> </div> <div> <h4>{l s='Our offers' mod='tmfooterlinks'}</h4> <ul> <li><a href="new-products.php">{l s='New products' mod='tmfooterlinks'}</a></li> <li><a href="best-sales.php">{l s='Top sellers' mod='tmfooterlinks'}</a></li> <li><a href="prices-drop.php">{l s='Specials' mod='tmfooterlinks'}</a></li> <li><a href="manufacturer.php">{l s='Manufacturers' mod='tmfooterlinks'}</a></li> <li><a href="supplier.php">{l s='Suppliers' mod='tmfooterlinks'}</a></li> </ul> </div> <div> <h4>{l s='Your Account' mod='tmfooterlinks'}</h4> <ul> <li><a href="my-account.php">{l s='Your Account' mod='tmfooterlinks'}</a></li> <li><a href="identity.php">{l s='Personal information' mod='tmfooterlinks'}</a></li> <li><a href="addresses.php">{l s='Addresses' mod='tmfooterlinks'}</a></li> <li><a href="discount.php">{l s='Discount' mod='tmfooterlinks'}</a></li> <li><a href="history.php">{l s='Order history' mod='tmfooterlinks'}</a></li> </ul> </div> <p>©2011 {l s='Powered by' mod='tmfooterlinks'} <a href=" Link to comment Share on other sites More sharing options...
vekia Posted May 15, 2013 Share Posted May 15, 2013 as you can see above, you've got links there, they are hardcoded. change the: <li><a href="cms.php?id_cms=3">{l s='Terms and conditions' mod='tmfooterlinks'}</a></li> to: <li><a href="cms.php?id_cms=9">{l s='Terms and conditions' mod='tmfooterlinks'}</a></li> Link to comment Share on other sites More sharing options...
chorizotpl Posted May 16, 2013 Author Share Posted May 16, 2013 Thank you so very much for your help - I will log in to the FTP & try this now. Thanks! Link to comment Share on other sites More sharing options...
chorizotpl Posted May 16, 2013 Author Share Posted May 16, 2013 Hi I've tried this & it is still showing as trying to reference cms.php?id_cms=3 I have tried resetting the module in the Front Office area in Modules & I've tried Disabling it & then re-Enabling it. Should I Uninstall the module & then re-install it do you think? Thanks! Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2013 Share Posted May 16, 2013 Hello you should turn force compilation on. After that - refresh your website. If the problem will still occur, check the: themes/your_theme/modules/tmfooterlinks maybe there the .tpl file exist, if so - you have to apply changes there 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