berta recchia Posted November 7, 2011 Share Posted November 7, 2011 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 More sharing options...
tomerg3 Posted November 7, 2011 Share Posted November 7, 2011 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 More sharing options...
berta recchia Posted November 8, 2011 Author Share Posted November 8, 2011 is it going to conflict with my custom templates? Link to comment Share on other sites More sharing options...
tomerg3 Posted November 8, 2011 Share Posted November 8, 2011 I don't really understand what you mean, it has nothing to do with the theme (unless you hard coded text in it). Link to comment Share on other sites More sharing options...
berta recchia Posted November 8, 2011 Author Share Posted November 8, 2011 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 More sharing options...
tomerg3 Posted November 9, 2011 Share Posted November 9, 2011 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 More sharing options...
berta recchia Posted November 9, 2011 Author Share Posted November 9, 2011 (edited) 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 November 9, 2011 by berta recchia (see edit history) Link to comment Share on other sites More sharing options...
tomerg3 Posted November 9, 2011 Share Posted November 9, 2011 You can try to manually delete the cache, delete all the files (except index.php) in /tools/smarty/compile/ Link to comment Share on other sites More sharing options...
berta recchia Posted November 10, 2011 Author Share Posted November 10, 2011 I don't see an index.php in that in /tools/smarty/compile/ category. The only file different from all the others is "wrtZEqDRm" which has no extension. Its type is "file". Thanks again Link to comment Share on other sites More sharing options...
tomerg3 Posted November 10, 2011 Share Posted November 10, 2011 It may be in smarty_v2 if you are not using the new smarty system (usually if you have an old theme) Link to comment Share on other sites More sharing options...
Recommended Posts