How can I delete old templates that no longer exist in my repo from EE cpanel?
I can see you can multi-select and sync, but is there a way of deleting them?
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It only takes a minute to sign up.Sign up to join this community
Your Site -> CP Home -> Design -> Template Manager
Can you not access this control panel page? Head over there and click delete on templates you don't want. You may have to FTP into your server and also manually delete templates stored as files.
After you delete things, just run an
commit in your repo.
Based on your comment, there are more complex solutions related to repos and deleting files. For example, with
git, you could use git hooks to guarantee a deletion synchronization between your template database table and the actual templates that are stored as files. But
eeeiik, that's way too much work for what you're looking to do (I assume).