manlio Posted January 10, 2019 Share Posted January 10, 2019 Hi guys, I have a problem with some templates. I don't know why but I have some templates (created by me) that are in the system templates. I wanna remove them, but I'm not able to do this. I have tried something like this $t = $templates->get("mytemplate"); $t->flags = Template::flagSystemOverride; $t->flags = 0; $templates->delete($t); $fieldgroups->delete($t->fieldgroup); It works and doesn't give any errors, but whenever I go into the admin backend template page it appears again (it seems to be regenerated). Anyone knows how can I fix it? Thank you Link to comment Share on other sites More sharing options...
Zeka Posted January 10, 2019 Share Posted January 10, 2019 @manlio Have you deleted repeater fields with same names? 3 Link to comment Share on other sites More sharing options...
manlio Posted January 10, 2019 Author Share Posted January 10, 2019 Thank you Zeka, unluckily I don't have any repeater fields with the same name ? You were right, I was looking for exact same name.... that seems to be the issue. Thank you! Link to comment Share on other sites More sharing options...
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