Is it possible to limit how many times and entry type can be used? I've structured my site so that most of the pages are in a single structure section (easier to manage that way and it means all my pages can be outputted and organised in the navigation's {% nav %} tag).

I've set up pages that have their own templates and would have been singles as new entry types (e.g. contact page, register form or members area) but it means that the user might try to add another one of those sections in, which I don't want them doing.

So is there a way to limit how many times an entry type can be used?
If you're working with frontend forms, set the permission to use any of these entry types to a specific user group or to admins only. Use isInGroup or the admin property:

{% if currentUser.admin %} ... {% endif %}
{% if currentUser.isInGroup('usersWithSomeEntryTypesHidden') %} ... {% endif %}


If you need this in the CP, you could make a plugin that does the same and hides selected entry types from the dropdown using JS. As this is no nice solution, what about making this a feature request to Pixel &amp; Tonic?