I'll try to override mails/fr/order_conf.html
I'll try like this :
override/themes/default/mails/fr/order_conf.html
But it doesn't works.
Any idea?
Thanks!
I found the solution.
To override the mails in prestashop, you need to copie de folder root/mails/
into your root/themes/your_theme_name/
Like this you can modify the mails look and It will ne not lost when you upgrade your prestashop.
I hope it can help...
bye
Related
i've created a php file in my theme folder named page-test.
When i try to bind this template to any page, i can't see it
Impossible to guess what is the problem. Someone could help me ?
Thx
Can you make sure your child theme is activated, i mean where you put your file, also can you change file name to page_test.php
Let me know if problem fixed.
Ok i got it.
It's not in "page attribute" anymore but in the "modele (in french)" part.
Where wordpress determinds the template which is loaded? Ich want to changed the template Depended on a url Parameter. Also a hacky solution is welcomed
I think you need following: https://wordpress.stackexchange.com/a/100858 , https://stackoverflow.com/a/24772581/3475869
But you need to do more detailed research before ask.
Can anyone point me in the right direction on how to override a file that is in web/template, it's the minicart/content.html file I would like to change, i've been searching but can't find out how!
Please check the URL they are going to help you to override the template file ;
Magento 2: How to override mini-cart default template html file?
Also one more link you can follow :
how to override template files for magento2 extension
I am using the WordPress framework called Bones. I don't know how activate the Spanish translation, I see that the po and the mo file are in the folder "translation", but for example in comments I see "Leave a reply", and not "Deja tu comentario" or the correct translation.
Here is the solution.
Put this in header.php.
require_once (get_template_directory() .'/library/translation/translation.php');
how to change the link in the wordpress email with newpassword?
this information we get when we click on forgot password.
username : admin
password : admin
http://www.example.com/wp-login.php
here i want to change this url "http://www.example.com/wp-login.php" and set my own url... how can i do?
some reference code:
if ( !function_exists('is_user_logged_in') ) :function is_user_logged_in() {
$user = wp_get_current_user();
You can hook into the retrieve_password_message filter
function someFunction($message, $key){
}
add_filter('retrieve_password_message', 'someFunction');
You would then have to use the "someFunction" function to parse the $message variable and change the link.
The message variable contains the entire message. So you could simply trim the message based on the number of characters then tack on your new link...
HTH
(Untested)
Using hooks would be my first thought so that you wouldn't have to edit any core files, however I have used the SB Welcome Email Editor plugin a couple times for this exact reason. Their are a couple plugins like this out their and they are fairly light weight and allow full customization of all Wordpress generated emails.
Try using a plugin such as Theme My Login, which does everything for you.
Editing core wordpress files is never a good idea, when updating wordpress, you'll loose all your work.
You can simply follow steps if you want to edit your code file.
Go to your wordpress folder. Look for the following files:
1. /wp-login.php
2. /includes/functions.php
Change the all the codes which contains wp-login.php into your custom URL.
for example: admin.php or client-login.php
Now you can changed your login/signup URL into your custom URL.
Known issue: You can find some database error if you make any mistakes. Just refresh the page and try with the customized Url it will work...
Example site I used here : http://androideveloper.com/admin.php from http://androideveloper.com/wp-login.php
Cheers.