html – How to edit already existing PHP TWIG website as a beginner


I inherited “old” website of my sports club and I need to do some small edits on the website (because we dont have money for a professional programmer). I can write HTML, CSS and some simple JS code but I dont know PHP (to be honest, I dont even know what it does). Also it is not written in simple .html files but some .html.twig files (TWIG is some addon I suppose).

First problem is the fact that I cannot open .twig files in browser unlike .html files so I cannot see how the changes look. That isnt the biggest issue though.

The problem is that after changing the text inside the .twig files on the server, it stayed the same. Even when I open the twig files from the server I can see the changes but they are not visible online.

I simply tried changing the texts and uploaded it to the server but even though it registered a different file (I can see the “last modified date” changed), nothing happend online (after more than 24 hours).

The original admin hasnt worked on it since 2018, but he did a small change recently (also just a text change), so I looked at my backup files and tried to look for other files with the same “last modified date” and only found some autogenerated files by PHP like __CG__AppBundleEntityUser.php or getTwigService.php so I suppose there is maybe a script I should run somewhere to make it work?

I only have a text editor (dont worry i dont use notepad) so I dont know if I should get something else to run it or something.

Any help is apriciated



Source link

Leave a Comment