We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Default Entry Status: Closed?

How Do I?

punchyy's avatar
punchyy
6 posts
10 years ago
punchyy's avatar punchyy

Is there any way for entries to have a default status of Closed? My client wants to use the Closed status as a way to flag pending entries and I would like all entries to default to Closed so that incomplete entries aren’t mistakenly published.

So far I haven’t been able to find a non-cumbersome solution to this.

Thanks!

       
Riverboy's avatar
Riverboy
2,993 posts
10 years ago
Riverboy's avatar Riverboy

If they use backend it should be simple as this: After you login to your admin, go to: CP Home -> Administration -> Channels -> Channel Preferences: CHANNEL_NAME

Then choose from Administrative Preferences: Default Status : Closed (from the dropdown menu).

Update / finish.

       
punchyy's avatar
punchyy
6 posts
10 years ago
punchyy's avatar punchyy

Thanks so much!

       
Riverboy's avatar
Riverboy
2,993 posts
10 years ago
Riverboy's avatar Riverboy

No problem. Another way to give it a go, is to use status parameters on your channel:entries opening tag.

So something like this is a start to try’n see how things might work:

{exp:channel:entries channel="channel_short_name" status="not closed" limit="1" }
...content of entry here...
{/exp:channel:entries}

Read more about channel entry status parameter from here.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.