cyrusvsdarius Posted September 26, 2010 Share Posted September 26, 2010 Hello,How do I edit the Contact page? I would like to remove the text I marked in the picture and put information about adress, telephone number etc instead. Or maybe I can put these information below the contact form.Thank you in advance Link to comment Share on other sites More sharing options...
cyrusvsdarius Posted September 26, 2010 Author Share Posted September 26, 2010 And one more thing, when I send a message through the contact page I get this error message:Warning: mail() [function.mail]: Policy restriction in effect. The fifth parameter is disabled on this system in /customers/if-fashion.com/if-fashion.com/httpd.www/tools/swift/Swift/Plugin/MailSend.php on line 160How do I solve this problem?I have attached a picture. Link to comment Share on other sites More sharing options...
games4everro Posted September 26, 2010 Share Posted September 26, 2010 To edit that go to ur presta admin >Tools>Translation>Modify Translation (Front Office) and then search for that text and edit him Link to comment Share on other sites More sharing options...
cyrusvsdarius Posted September 26, 2010 Author Share Posted September 26, 2010 To edit that go to ur presta admin >Tools>Translation>Modify Translation (Front Office) and then search for that text and edit him I found it, but I can only write in one line. I would like it to look like this:AdressPhoneFaxI can only write these info directly after each other (which I dont want): Adress Phone FaxI hope you understand what I mean Link to comment Share on other sites More sharing options...
cyrusvsdarius Posted September 26, 2010 Author Share Posted September 26, 2010 Maybe I can put the information under the contact form? If its possible, how do I do that?I´ve attached a picture. Link to comment Share on other sites More sharing options...
games4everro Posted September 26, 2010 Share Posted September 26, 2010 look at those screen shots it is realy easy.After u edit that go to the bottom of the page and click update translation Link to comment Share on other sites More sharing options...
cyrusvsdarius Posted September 26, 2010 Author Share Posted September 26, 2010 I know, but I would like to write the information line after line, Not one line.Example:Adress*******Phone nr *****Fax********E-mail ********Is there a way to write like this on the Contact page? Link to comment Share on other sites More sharing options...
games4everro Posted September 26, 2010 Share Posted September 26, 2010 Those infos i would recomad to write them in About Us page. This u can modify in Tools>CMS.To write those infos on contact form page i don't know, i think u'll need some programing skils for that. Link to comment Share on other sites More sharing options...
rocky Posted September 27, 2010 Share Posted September 27, 2010 See this topic to add the contact details from the Preferences > Contact tab to the contact page. Link to comment Share on other sites More sharing options...
cyrusvsdarius Posted September 27, 2010 Author Share Posted September 27, 2010 See this topic to add the contact details from the Preferences > Contact tab to the contact page. Thnx Rocky, I will read it. I have one more problem, everytime I send a message through the contact page I get this error message:Warning: mail() [function.mail]: Policy restriction in effect. The fifth parameter is disabled on this system in /customers/if-fashion.com/if-fashion.com/httpd.www/tools/swift/Swift/Plugin/MailSend.php on line 160How do I solve this?Regards Link to comment Share on other sites More sharing options...
rocky Posted September 27, 2010 Share Posted September 27, 2010 Here's the code causing the problem: if (!ini_get("safe_mode")) $success = mail($to, $subject, $message, $headers, $params); else $success = mail($to, $subject, $message, $headers); It seems that your server is in "safe mode", but it is telling PrestaShop that it isn't in "safe mode", which causes PrestaShop to pass an extra parameter when it shouldn't. It's something you should ask your host about. In the meantime, you can change these lines to the following to always assume the server is in "safe mode": /*if (!ini_get("safe_mode")) $success = mail($to, $subject, $message, $headers, $params); else*/ $success = mail($to, $subject, $message, $headers); Link to comment Share on other sites More sharing options...
cyrusvsdarius Posted September 27, 2010 Author Share Posted September 27, 2010 Where exactly do I make these changes? Link to comment Share on other sites More sharing options...
rocky Posted September 27, 2010 Share Posted September 27, 2010 On lines 160-161 of tools/swift/Swift/Plugin/MailSend.php, as indicated in the error message. Link to comment Share on other sites More sharing options...
cyrusvsdarius Posted September 27, 2010 Author Share Posted September 27, 2010 Works fine now! Link to comment Share on other sites More sharing options...
rocky Posted September 27, 2010 Share Posted September 27, 2010 From the error message, it seems the file didn't upload correctly. Make sure that you copied both the /* and */ above, then try uploading the file again. 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