Jump to content

Unpublish-page or another status-field?


eydun
 Share

Recommended Posts

When building various templates such as webpages (or something else), do you usually add an additional boolean-field to be able to toggle the page to be "active" or not?

Or do you just use the built-in "Publish/Unpublish" status-field to control if the page should be active/visible?

I know it depends on the use-case, so this question is meant in general-terms best-practices how to use the status-field.


image.png.0cc564ef9d10f2a2f0a7f250d11cf5f0.png

Link to comment
Share on other sites

The status can be used as active toggle. But, as you said, this highly depends on the use case. I have several sites where a separate 'active' checkbox field is required because in PageLister (like Pages->Find) those pages should appear for user roles other than superuser and not be striked-through.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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