0

I have installed the demo templates just to have a look at each template and what it delivers at the frontend.

But for my site, I do not want all these pages to be available to the user. There seems to be no option of uninstalling these demo templates. I uninstalled the user module and reinstalled it ( I didn't installed the demo templates again) but the demo templates are still showing up those user pages.

Any suggestions welcome.

Thanks in advance.

2
  • Just delete them
    – Jim Wyse
    Feb 3, 2016 at 20:33
  • Yes that a way, or better if I could keep them and let only the admin see those pages. Is there a way for it?
    – Abhishek
    Feb 3, 2016 at 20:36

1 Answer 1

1

Do as Jim recommended. You can just delete them. If you want to keep them just move them to a different template group and set those templates to redirect to 404 for everyone. Only superadmins will be able to view them after that. For reference (EE 2 docs):

https://docs.expressionengine.com/v2/cp/design/templates/template_preferences_manager.html#modify-preferences-and-access

1
  • Or you can add in the header: {if group_id != "1"} {redirect="404"} {/if}
    – Jim Wyse
    Feb 4, 2016 at 15:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.