SLiCK_303 Posted November 1, 2017 Posted November 1, 2017 I've noticed, specially in the blocknewsletter module, the mails it sends out, have powered by PS and PS's url on them. I have noticed the same thing on the sites mails/en folder....both .txt and .html files have issues.
SLiCK_303 Posted November 1, 2017 Author Posted November 1, 2017 I know I can change them both on in the directories, or in the translations, but by default they are incorrect
piet Posted November 1, 2017 Posted November 1, 2017 I've noticed that too. In a lot of places links direct to PS but is a bit annoying but I can live with that for the time being. In my opinion it is better to focus on the real bugs and handle the cosmetic bugs in a later stadium.
SLiCK_303 Posted November 1, 2017 Author Posted November 1, 2017 If the files make the translations, and not the other way around, I can change them all and send it to you guys.
Traumflug Posted November 1, 2017 Posted November 1, 2017 Thanks. Fixed for English templates a minute ago: https://github.com/thirtybees/thirtybees/commit/91e19a75537c486f131d8b390d4bd176f4116b0d If you want to fix it for all other languages, try this: bash find mails -type f | while read F; do \ sed -i \ -e 's/<a href="http:\/\/www.prestashop.com\/" style="color:#337/<a href="http:\/\/www.thirtybees.com\/" style="color:#337/' \ -e 's/PrestaShop(tm)/thirty bees(tm)/' \ -e 's/thirty bees \&trade\;/thirty bees\&trade\;/' \ -e 's/\[http:\/\/www.prestashop.com\/\]/\[http:\/\/www.thirtybees.com\/\]/' \ -e 's/PrestaShop\&trade\;/thirty bees\&trade\;/' \ -e 's/Webshop system\: PrestaShop/Webshop system\: thirty bees\(tm\)/' \ -e 's/37ff1">PrestaShop<\/a>/37ff1">thirty bees\&trade\;<\/a>/' "$F"; \ done
Traumflug Posted November 1, 2017 Posted November 1, 2017 Sure you can grab this code. That's why I posted it here. :-)
Traumflug Posted November 1, 2017 Posted November 1, 2017 P.S.: it's a good idea to verify what it does. My own verification went only as far as 'PrestaShop' disappearing.
alwayspaws Posted November 1, 2017 Posted November 1, 2017 Is this going into a future update of thirtybees? Otherwise, what template(s) to add @Traumflug's code to, please?
alwayspaws Posted November 1, 2017 Posted November 1, 2017 I meant that I want to use it but I don’t know where to put it. Thanks! So where do I put it? :-)
SLiCK_303 Posted November 2, 2017 Author Posted November 2, 2017 I edited all of mine, but on a fresh install you might wanna fix them.
Traumflug Posted November 2, 2017 Posted November 2, 2017 what template(s) to add @Traumflug’s code to, please? It's shell/command line code. To apply it, one has to SSH into the server and execute it there. Alternatively, one can download the whole mails/ folder, run the command locally, check a file or two whether it worked, and upload these files again.
alwayspaws Posted November 6, 2017 Posted November 6, 2017 @mdekker said in Mails and the powered by message: These are the translation options on the Translations page. If you pick e-mails, you get to see the e-mail editors where you can adjust them. I opened localization > translations > Type of translation and selected "email templates translations". Selected Transformer theme. Language: English. Clicked "modify". I just can't see myself sitting here and updating sixty-six (66) core emails and all the module emails. There has to be a better way, especially for non-programmers, to do this "globally".
SLiCK_303 Posted November 6, 2017 Author Posted November 6, 2017 The core emails they fixed already, you can get them from github, the module ones....well....I did them myself manually.
alwayspaws Posted November 6, 2017 Posted November 6, 2017 @SLiCK_303 I don't know how to update the core emails. I'm at the link and I clicked "browse files", clicked on the "mails" folder and clicked "en". Saw a long list of files. Help, please?
SLiCK_303 Posted November 6, 2017 Author Posted November 6, 2017 I don't know the 'right' way of doing it, i just downloaded the whole TB project, then uploaded the mails to my server.
alwayspaws Posted November 6, 2017 Posted November 6, 2017 You're further along than I am. I don't know how to download the project.
SLiCK_303 Posted November 6, 2017 Author Posted November 6, 2017 Goto thritybees/thirtybees, then there is an option on the right top to d/l
alwayspaws Posted November 6, 2017 Posted November 6, 2017 Uh-oh. I'm using a 3rd party theme - Transformer theme by Jonny Li - so I don't know about incorporating everything into it, but thanks for showing me that. :)
SLiCK_303 Posted November 6, 2017 Author Posted November 6, 2017 just upload the core mails folder. not any theme mails...
alwayspaws Posted November 6, 2017 Posted November 6, 2017 I would but I'm in here now and don't see a place to download just the core mails folder. https://github.com/thirtybees/thirtybees/tree/1.0.x/mails/en No way to highlight it here to download it: https://github.com/thirtybees/thirtybees
jnsgioia Posted November 6, 2017 Posted November 6, 2017 Click the green button on the top right and choose the download zip option. (You can't just download the mails folder as far as I could see.) After it downloads unzip it and then upload just the mails folder to your server (I used filezilla).
DaoKakao Posted November 6, 2017 Posted November 6, 2017 @alwayspaws, first you have to do some things: 1. Ensure, that the bash shell installed on your mac 2. Familiarize with the shell commands, at least in minimal amount 3. Install git and familiarise with it, also U haven't 2 study it completely, just basic usage 4. Familiarize with ssh (required if the webserver you want to upgrade deployed not on your local computer) 5. After all of this open in the browser https://github.com/thirtybees/thirtybees and read the directions on project's homepage and perform the appropriate commands ('section 'installation') in the shell 6. Just after all above done with success you should execute @Traumflug's script in the shell.
vzex Posted November 7, 2017 Posted November 7, 2017 This seems like a good winter snowstorm project! thanks @daokakao Can you set git to private? Wouldn't want to publicly embarrass myself during the learning curve :) @daokakaosaid in Mails and the powered by message: @alwayspaws, first you have to do some things: 1. Ensure, that the bash shell installed on your mac 2. Familiarize with the shell commands, at least in minimal amount 3. Install git and familiarise with it, also U haven't 2 study it completely, just basic usage 4. Familiarize with ssh (required if the webserver you want to upgrade deployed not on your local computer) 5. After all of this open in the browser https://github.com/thirtybees/thirtybees and read the directions on project's homepage and perform the appropriate commands ('section 'installation') in the shell 6. Just after all above done with success you should execute @Traumflug's script in the shell.
DaoKakao Posted November 7, 2017 Posted November 7, 2017 @vzex said in Mails and the powered by message: Can you set git to private? Wouldn’t want to publicly embarrass myself during the learning curve Sorry, English is not my native language, so i didn't caught the idea. You just clone public git repository to your PC/mac by command git clone ...bla-bla... and then feel free to experiment with your local copy as you wish
Traumflug Posted November 7, 2017 Posted November 7, 2017 Ooops. Didn't think there is so much demand. Here are all the mail templates, one ZIP per language. Just overwrite existing files: 151510054324714mails-en.zip 141510054324714mails-el.zip 131510054324714mails-dh.zip 121510054324714mails-de.zip 111510054324714mails-da.zip 101510054324714mails-cs.zip 91510054324714mails-cb.zip 81510054324713mails-ca.zip 71510054324713mails-bz.zip 61510054324713mails-br.zip 51510054324713mails-bn.zip 41510054324713mails-bg.zip 31510054324713mails-az.zip 21510054324713mails-ar.zip 11510054324713mails-ag.zip 01510054324713mails-af.zip
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