@smifis - Can you confirm this is working for you currently on v1.5.2.1? The reason I ask is because I've gone ahead and tried again based on your post and get the same results. Here's an example of a quick edit to the file, please correct me where I'm wrong...
This is the file I modified:
Code: Select all
catalog\view\theme\default\template\error\not_found.tpl
This is the code that I modified:
Code: Select all
<div class="content"><?php echo $text_error; ?></div>
I added 'HELLO WORLD' after the error message like this:
Code: Select all
<div class="content"><?php echo $text_error; ?>HELLO WORLD!</div>
Now, as I posted initially, I will see the error message along with the words "HELLO WORLD!" on the 404 page, checkout page and shopping cart page. If I remove the entire error string, then I only see the two words, again displayed across all pages.
Can someone else test the above and let me know your results? Thanks!