alsheron Posted June 2, 2009 Share Posted June 2, 2009 Because I unknowingly chose hosting with a Zeus webserver, I cannot enable friendly URLS even though I've tried to translate the .htaccess file to Zeus webserver language.Now when I click on the (read) link during the shopping cart, it attempts to load CMS entry number 3. But because I have added and deleted entries due to a clean installation, the Terms and conditions are not at CMS entry 3.I've tried clicking the Reset button but that causes a server error (again) probably due to zeus. Thankfully these errors are rare and the vast majority of the installation works perfectly.SO my MAIN question is:How can I change the ID of the CMS entry for Terms and Conditions to 3?orHow can I make the link to the Terms and Conditions on the order page process (link in Info block works fine) point to the correct CMS entry?Also:Is there any way to get the rewrite rules working on Zeus webserver (I know it's rare!)?I've come up with the following and placed it in a rewrite.script file but it doesn't seem to work:match URL into $ with ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$if matched then set URL = /product.php?id_product=$2$4 [L,E]match URL into $ with ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$if matched then set URL = /product.php?id_product=$1$3 [L,E]match URL into $ with ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$if matched then set URL = /category.php?id_category=$1 [QSA,L,E]match URL into $ with ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$if matched then set URL = /cms.php?id_cms=$1 [QSA,L,E]match URL into $ with ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$if matched then set URL = /supplier.php?id_supplier=$1$3 [QSA,L,E]match URL into $ with ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$if matched then set URL = /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]I think either prestashop cant detect this being used OR the "[QSA,L,E"] bits at the end don't work on Zeus but I don't know what they are.Any help would be gratefully appreciated.Thanks! Link to comment Share on other sites More sharing options...
alsheron Posted June 8, 2009 Author Share Posted June 8, 2009 I LOVE prestashop and have huge respect for it's creators and all involved on this forum, but I'm beginning to get concerned that there is a general feeling that posts are ignored just a little too often. This software and the community will succeed or not largely based on the strength of the community forum, and the willingness of people to simply reply with SOMETHING rather than leave posts completely unanswered. Are there enough people using the forum I wonder?Anyone? Surely someone here must have the knowledge to offer some advice? Link to comment Share on other sites More sharing options...
alsheron Posted September 4, 2009 Author Share Posted September 4, 2009 Is there ANY way to change the ID for the CMS entries? Surely there must be a way? I've even moved host now and have no other problems but 404 errors because things aren't pointing in the right direction. Link to comment Share on other sites More sharing options...
ramblingrose Posted September 5, 2009 Share Posted September 5, 2009 Wat version of PS are you using ? I seem to remember I had a similar problem when testing one of the earlier versions of PS because the ID's were hardcoded inside the module blockinfos. With the latest PS release(s) this does not longer seem the case. Ultimately you could change the ID's directly within the database through phpMyAdmin or a similar database tool. Link to comment Share on other sites More sharing options...
alsheron Posted September 5, 2009 Author Share Posted September 5, 2009 Hi, I'm using the latest 1.2.2.0 but it's an upgrade from 1.5 from memory. It's a real shame that if the ID's don't match up and cause 404 errors that there is no way to alter that. Maybe the admins could take this as a feature request? If the ID's are changed in the database, is there anything specific to make sure gets changed i.e. dependancies etc? Or can I just go ahead and change an ID to whatever I want and it will re-assign in the Back-Office?Thanks Link to comment Share on other sites More sharing options...
ramblingrose Posted September 6, 2009 Share Posted September 6, 2009 I am afraid you will have to try and see what happens as I haven't had to make such changes (yet) and can't tell if there is any place within the PS sources where CMS ID's are hardcoded. 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