Jump to content

Strange behavior of confirmation.tpl


Recommended Posts

I had updated my confirmation.tpl and chanded the line "your order will arrive soon" to "your order will arrive in 10-14 days. I used force compiled and all worked well.

 

Now I'm trying to change the same line again. Both local and remote file have updated but I cannot make the site show the updated line. I disable and rebuilt the cache, checked permission but for some reason the change will not take this time.

 

Any suggestion on what it could be??

 

Thanks.

Link to comment
Share on other sites

Either you did not update the correct file, or you did not refresh the smarty cache.

 

You don't need to edit any files to change the text, you can use the PS translation system (Tools->Translations->Front office translations-> click on your flag look for the text you want to edit, and enter the new text in the textbox next to it).

Link to comment
Share on other sites

Two things going on:

 

1- I'm using your authorize.net module and once the cc payment is accepted I get that page with "You have chosen the Credit Card method.....For any questions or for further information, please contact ... .blah blah" These lines are not in the translation pages. ( and thank you for showing me that, I've been using it to update other pages)

 

2- When modifying the file directly, I am modifying the correct one (modules/autorizedotnet.tpl). I enable force compile and disable/re enable the cache. When I do this and refresh the confirmation page it loads blank. When I disable force compile and refresh, the page comes back, but still not updated.

 

Something to do with the authorize module possibly?

Thanks.

Link to comment
Share on other sites

No, it has nothing to do with the module, you may have some permission issues, you may want to try to turm or error reporting in /config/config.inc.php line #29).

 

To edit the text of modules, you need to go to Tools->Translations->Module Translations.

Link to comment
Share on other sites

Permissions are fine. They are the same as other files that i modify and update after force compile. When I reload the page wint foce-compile on, the page loads blank. I deleted the file from the remote server, refreshed the page and got ""No template found for module authorizedotnet" so I know it's the right page. I also disabled caching.

Once I put the file back ( and it has the modification ) it still loads the old version. Somehow the cache doesn't get deleted.

 

As for the translation, it works great but here's the strange thing. I found the area in that module translation. I can modify lines 1,2,4 ( and they show up ) but the changes I make on line 3 "Your order will be shipped in 8-14 days" never changes!

What's up with that ?!

Edited by berta recchia (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...