spazzo Posted September 20, 2010 Share Posted September 20, 2010 Hi,I had deleted all my information/cms pages to setup new ones but the links back to them are now dead.The link for the Paypal logo in the left column goes to cms.php?id_cms=5 but there is no 5My cms pages now start from 12 up to 20. Is there anyway of resetting these numbers or changing the link above?thanksregardsSpazzo Link to comment Share on other sites More sharing options...
spazzo Posted September 21, 2010 Author Share Posted September 21, 2010 I worked out how to do it.You have to:Delete all your CMS entries like terms & what ever pages you made.Then go to you database phpMyAdmin in your cpanelClick on your shop database to see a list of ps_ tablesClick on the ps_cms table to 'browse'Click on the tab at the top called 'operations'There is a box called Table Options. In that box is AUTO_INCREMENT . Change the value here to 1. Then click 'Go'Return to your back office cms and start adding your cms links like terms etc.thats it regardsSpazzo Link to comment Share on other sites More sharing options...
DigitalMagic Posted January 3, 2011 Share Posted January 3, 2011 That's great, but I have written 4 or 5 pages already and not liking the idea of deleting them and starting over.The links all seem to work fine regardless of how they're numbered - the only problem I seem to be having is on checkout with ToS. It's showing the wrong cms page when "customer" attempts to read it before agreeing, yet it displays correctly when clicked on from the footer or info box. Any idea how to correct this?Thanks Link to comment Share on other sites More sharing options...
spazzo Posted January 3, 2011 Author Share Posted January 3, 2011 Sorry cant help because i got the same problem with terms & cond link. Link to comment Share on other sites More sharing options...
rocky Posted January 3, 2011 Share Posted January 3, 2011 In PrestaShop v1.4, you can change which page is the "Terms and conditions" page on the Preferences tab. In PrestaShop v1.3, you cannot, so you must manually change line 376 of order.php (in PrestaShop v1.3.5): $cms = new CMS(3, intval($cookie->id_lang)); Change 3 to the ID of the page you want to be used as the terms and conditions page. 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