Messed up cache for some twig files, but most work as expected
Posted: Fri Dec 01, 2017 12:28 am
I'm not quite sure what happened, as this only occurs in a couple of files. I was going to try to clear the cache, but I have checked system/storage/cache and it is empty.
Editing header.twig and footer.twig (haven't tried other files) allows me to make changes to some parts of the file and have them save / take effect, but not others. For example, I try removing / adding links to the header navbar (2 lines below {{ menu_side }}), and the changes are not made.
Or in the footer file, I try to remove the a placeholder lorem ipsum with a language file value and remove the "Brands" link from the footer. The link is removed, but the new language variable is not loaded. In addition, when editing these twig files, every time I load them up, they go back to the what the twig file started as (ie, any changes that were made and saved become erased).
Side note, I also can make changes to these twig files in cPanel and have them save, but the changes aren't loaded. I've made custom pages through cPanel, so I'm not sure if this is related to it or not.
Unsure if this is related or not, but I tried to add links to the admin side menu in the controller, but they did not appear. Also, any changes I made to existing links did nothing as well.
Editing header.twig and footer.twig (haven't tried other files) allows me to make changes to some parts of the file and have them save / take effect, but not others. For example, I try removing / adding links to the header navbar (2 lines below {{ menu_side }}), and the changes are not made.
Or in the footer file, I try to remove the a placeholder lorem ipsum with a language file value and remove the "Brands" link from the footer. The link is removed, but the new language variable is not loaded. In addition, when editing these twig files, every time I load them up, they go back to the what the twig file started as (ie, any changes that were made and saved become erased).
Side note, I also can make changes to these twig files in cPanel and have them save, but the changes aren't loaded. I've made custom pages through cPanel, so I'm not sure if this is related to it or not.
Unsure if this is related or not, but I tried to add links to the admin side menu in the controller, but they did not appear. Also, any changes I made to existing links did nothing as well.