Jump to content

Recommended Posts

Posted

So I have the requirement to have all pages selectable in a page field. My custom selector is 'template!=admin, sort=title' which works well, however this still displays stuff in the dropdown like 'delete pages', 'edit pages'. How would I stop these appearing?

Posted

Try:

id!=2, id!=7, has_parent!=2, has_parent!=7

That will exclude everything under the "Admin" page tree as well as trashed pages.

You may also want to exclude the http404 page with:

id!=27

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...