Crowell Posted October 15, 2014 Share Posted October 15, 2014 Hi everyone, I tried to change text and img on 404 page: /public/themes/xx/404.tpl <div class="pagenotfound"> <div class="img-404"> <img src="{$img_dir}/img-404.jpg" alt="{l s='Page not found'}" /> </div> <h1>{l s='This page is not available'}</h1> <p> {l s='blablablabla test test'</a> '} </p> however after saving the file and refreshing ctrl+f5 still the old msg appears. also <div class="img-404"> is it a file /public/img/404.gif? is the new one also gotta be gif? Link to comment Share on other sites More sharing options...
vekia Posted October 15, 2014 Share Posted October 15, 2014 i don't understand this part: {l s='blablablabla test test' </a> '} it's a typo probably, for what purposes you use </a> ? and '} after? Link to comment Share on other sites More sharing options...
Crowell Posted October 15, 2014 Author Share Posted October 15, 2014 In this place was written bofero that "We're sorry, this site is not available", I would like to change it for something else, as well as the picture that appears above it. Link to comment Share on other sites More sharing options...
PascalVG Posted October 15, 2014 Share Posted October 15, 2014 I suspect you didn't turn on force compilation in advanced parameters ->Performance: Quote <p> {l s='blablablabla test test'</a> '} (And indeed, remove the </a> and ' ) pascal 1 Link to comment Share on other sites More sharing options...
Crowell Posted October 16, 2014 Author Share Posted October 16, 2014 On 10/15/2014 at 7:46 PM, PascalVG said: I suspect you didn't turn on force compilation in advanced parameters ->Performance: adv parameters - performance - force compilation.png (And indeed, remove the </a> and ' ) pascal I didn't change it from "Never..". Now when I did, website works fine but 404 doesn't apper at all. Changed it back and it't fine. I deleted it, thank you. I also turned off cache but I still cannot change 404 text Link to comment Share on other sites More sharing options...
vekia Posted October 16, 2014 Share Posted October 16, 2014 localization > translations > front office translations this is only one proper way to change translations of this part of shop. 1 Link to comment Share on other sites More sharing options...
Crowell Posted October 16, 2014 Author Share Posted October 16, 2014 On 10/16/2014 at 9:28 AM, vekia said: localization > translations > front office translations this is only one proper way to change translations of this part of shop. I did it, turned off cache, tried even "Force compilation", refresh website ctrl+f5 but it still shows the old text. I also don't know how to delete / change this PS img "404" 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