jfnewell1965 Posted March 22, 2019 Posted March 22, 2019 Sorry for all the posts y'all....just trying to understand..... I have received several helpful responses to my inquiries here....I thank everyone. However, most of these have to do with something along the lines of "Change it in the XXX.tpl file". I do this and then when there is no affect, I inspect with the browser and see that the changes I just made and saved are not showing up. My theme is a renamed copy of the default theme...so I thought maybe there is something off, so I made ".tpl" changes in both the original (but unused) theme, as well as the same ".tpl" file in my current theme. That did not work either. By the way, all of these changes were being made in the "blocktopmenu.tpl" file. So as a final test, I just deleted the "blocktopmenu.tpl" file...and then refreshed my web page, did the ctrl-f5, and guess what....all the code from "blocktopmenu.tpl" is still showing up....from a deleted file! So....either there is a cache I am unaware of, or the code is getting somewhere else, or something. Any ideas on how the code from a deleted file is displaying?
toplakd Posted March 22, 2019 Posted March 22, 2019 (edited) As all your questions are related to same problem, you could continue there. I already posted a hint to solution in your other thread. And once more here: Never recompile templates Edited March 22, 2019 by toplakd
wakabayashi Posted March 22, 2019 Posted March 22, 2019 40 minutes ago, toplakd said: As all your questions are related to same problem, you could continue there. I already posted a hint to solution in your other thread. And once more here: Never recompile templates I agree. But one thing confuses me. Why Never recompile templates? He should select always recompile or when changes!?
toplakd Posted March 22, 2019 Posted March 22, 2019 (edited) He has this enabled. And all problems start there. It was a hint. One should first try and learn the system before starting to modify it and writing this does not work, that dont work etc. Edited March 22, 2019 by toplakd 1
toplakd Posted March 22, 2019 Posted March 22, 2019 Mostly problem is not in thirty bees, but on another side of computer screen.
DRMasterChief Posted March 22, 2019 Posted March 22, 2019 @jfnewell1965 Why not just change the .tpl and upload it via FTP? Even if this is just for an try (in case of shopupdate you have to change then again, but this is easily if only one file is changed). This is the normal and easiest way and should work 100% , (cant understand the problem for myself, sorry)
jfnewell1965 Posted March 22, 2019 Author Posted March 22, 2019 @DRMasterChief That is what I am doing.....access with Filezilla...go to file...right click...select "View/Edit"....I have it come up in Notepad++...I edit, click save in Notepad++, upload the changed file as prompted by FileZilla, and then reload browser. I do the same thing with the CSS files and that works great. So...I need to learn what @toplakd is hinting for me to do, and perhaps that will solve it.
wakabayashi Posted March 22, 2019 Posted March 22, 2019 @jfnewell1965 you need to view your settings under "performance"
jfnewell1965 Posted March 22, 2019 Author Posted March 22, 2019 3 hours ago, toplakd said: and writing this does not work, that dont work etc. I think I have been pretty clear that I am not sure what I am doing...trying to learn....blaming myself....etc.......just saying.
jfnewell1965 Posted March 22, 2019 Author Posted March 22, 2019 Just now, wakabayashi said: you need to view your settings under "performance" OK...I have ....I have every cache set to off.....recompile set to on.....cleared the cache.....reloaded pages.....nothing.....Still getting old data that I have updated. Still working on it...reading what I can....etc.
wakabayashi Posted March 22, 2019 Posted March 22, 2019 Download the file with filezilla. Open it with an editor and check if the changes are in there...
jfnewell1965 Posted March 22, 2019 Author Posted March 22, 2019 As an added note, just to be thorough, I checked the optimizations on the hosting side (A2 Hosting), and as best I can tell A2 views this installation as a PrestaShop installation (makes sense) and as a result they have three areas of optimization: Basic optimizations of PrestaShop (with many tings underneath this option) Memcached TurboCached In every case, all optimizations are disabled.
jfnewell1965 Posted March 22, 2019 Author Posted March 22, 2019 (edited) 8 minutes ago, wakabayashi said: Download the file with filezilla. Open it with an editor and check if the changes are in there... OK...I did this, and in spite of changing the file...and I am really sure I changed it...the file had the old info in it. I closed everything, reopened using FileZilla, made sure I downloaded a fresh copy, and redid the edits.... And it worked this time, and reflected on the site. I guess I don't understand. Was everything I was doing getting lost until the cache was disabled? I ask that question, because I would expect my changes to be there, but yet perhaps not reflected due to caching. Edited March 22, 2019 by jfnewell1965
wakabayashi Posted March 22, 2019 Posted March 22, 2019 Hard to tell what was wrong. Maybe the file never got changed!?
DRMasterChief Posted March 22, 2019 Posted March 22, 2019 My experiences in life :) : 1. FileZilla sucks 2. download the file and change it on your PC, rename the original file on FTP (so you have a backup), then upload the new file with the unchanged name
jfnewell1965 Posted March 22, 2019 Author Posted March 22, 2019 @DRMasterChief Do you have a preferred FTP client, or do you just do downloads through CPanel file manger, or something else?
wakabayashi Posted March 22, 2019 Posted March 22, 2019 FileZilla is ok, but I never go with right click edit. I always save the file locally, edit/save it and then reupload.
jfnewell1965 Posted March 22, 2019 Author Posted March 22, 2019 OK...I will do it that way.... So I guess I just do all the development work without cache of any kind, and then turn it back on when I have things the way I want it....?
tommat Posted March 22, 2019 Posted March 22, 2019 For me, the most easy way to make design changes is to set up store localy, make changes there and when finished just upload a theme files. 1
DRMasterChief Posted March 23, 2019 Posted March 23, 2019 WinSCP seems to be a good and safe FTP client, FileZilla got also a lot of security leaks afaik.
devjunckie Posted March 26, 2019 Posted March 26, 2019 @jfnewell1965 have you tried viewing it in incognito mode? your browser cache, especially if you are using chrome, might need to be emptied.. otherwise, it might mean that the file wasnt changed at all.. or the server did not accept the changes you made. you can also, remove the TB cache from the advance parameters -> performance -> clear cache hopes this helps a bit. 1
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