Jump to content

Tommix

Members
  • Posts

    33
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Tommix's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. if it's not deleted from server - it's not deleted. go to ftp and delete it manually
  2. The only way to avoid problems is just open HTML files (if you use HTML emails) and edit them via some tool. notepad, or any other html hilighting editor. Then upload them back to server and never use backend translator
  3. It's Presta's bug. Lets say i modify 1 template, password reset, and i press Save and Stay -after that ALL templates in my website is broken. { } in href and src is replaced with url encode. MAYBE this is my servers problem, but looks sstrange how server can effect file write. There is code in AdminTranslationController which encodes html then saves to file. Maybe it's browser's fault, i use Chrome, but this is so simple task that i blame PS. not servers.
  4. Its not solved, i just found that lazy PrestaShop programmers cant fix this in 3 years. Their trnslation tool in admin panel is usless for emails. it ruins all email tamplates after you click save.
  5. There is bug in PS which makes bad html files. it encodes variable chars ( { and } ) so when email is sent (we talking about email templates in this case) usch encoded variables is not translated, like LOGO img source, and all urls. Have to open all html template files and search replace all html entities to normal chars.
  6. 3 years passed, and prestaShop still have this bug. Now it encodes variable chars like { and }
  7. Found problem - this is PrestaShop BUG When i translate template in Admin panel, many of { } chars becomes html encoded (in real html file) so translation service cant replace variables with value because it looks for { and } not for html ecoded equivalent. Also PrestaShop IGNORES core mails if there is theme mail folder, so you have to translate twice, then use some search replaces tools to replace html encoded values to decoded.
  8. Found problem - this is PrestaShop BUG When i translate template in Admin panel, many of { } chars becomes html encoded (in real html file) so translation service cant replace variables with value because it looks for { and } not for html ecoded equivalent. Also PrestaShop IGNORES core mails if there is theme mail folder, so you have to translate twice, then use some search replaces tools to replace html encoded values to decoded.
  9. Thanks for replay, i looked at thsi too. There were { } replaced by html encoding, but i made them to be { and } again. And they are replaced, cause in email there is no { or } simbols, there is just EMPTY instead of variables (in mail received). None of the topic helped me. prestashop sadly but very stupidly created..
  10. All my emails doesnt work. none of them have working URL or logo... looks like all HTML element attribute values are not entered, like SRC for img, HREF for a, and so on..everything who have url
  11. hi, can you provide working link to module? your website download doesn't work. edit: nevermind don't see logic to use this module if only works in few pages.
  12. Hello, im having a problem. I downloaded whole mail folder with my language, it wasnt translated fully so i translated whole text. Uplaoded back to server and now i have a problem. When i receive email there is texts but no hyperlinks, looks like it just replaces variables with empty string. Cause there is no variables too, so it replaces them but not inserting urls. The same with image (logo) in mail. Now image is just attached to email, not in content. NOt everything is translated. Even if i translate HTML template file of email and texts in admin interface - i still receive not translated emails. (half translated) Also i checked that variable sin html would be as it suppose to be and they are. in { } Dont know what to do anymore. PS using most recent version of PS. 1.6.11
  13. Yes they apear when customer selects my carrier by DisplayCarrierList hook.
  14. Hmm somwhow i never saw this hook. Thanks will try now EDIT: didnt help. Does not return my test input field's value. Also this hook is fired too early, payment confirmation page is still shown but hook is fired. Looks too early. But would be good too if only return values.
  15. Hello, im creating carrier module. This carrier has option which customer has to select. I found that DisplayCarrierList hook is what i was needed. BUT how can i get selected value? which hook returns them to me? i added simple Select with 70 options, customer have to choose one. I see that my Select is in Form so value should be sent somewhere. Is there possibility to get them via some hook? displayOrderConfirmation doesnt help - never gets executed in my hookdisplayOrderConfirmation function. PS i really do not want to use JS for this. Presta shop 1.6.11
×
×
  • Create New...