Questions tagged [pending]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
234 views

Fetch pending entries with GraphQL

I'm setting up Craft to be used headlessly with a mobile app, and content will be created several days before it is published. I want app admins to be able to see upcoming/pending entries. Is there a ...
user avatar
1 vote
1 answer
160 views

live and pending entries together not working

Craft 3.0.37 I have the following code which I expect to output all entries (live and pending) but it doesn't <ul> {% for entry in craft.entries.section('podcast').status('live','pending')....
user avatar
  • 1,907
2 votes
1 answer
318 views

Cache not invalidating when using pagination with cache

Any idea why this code wouldn’t update/break the cache when new items are created? Think perhaps the combination of my code for pagination, cache and the ability to also break for pending entries isn'...
user avatar
  • 1,834
1 vote
1 answer
742 views

Set status 'pending' on Guest Entry form

I'm using P&T's Guest Entries plugin along with my front end entry forms. All working fine except I want front end entries submitted with status 'pending'. Thought this would be pretty ...
user avatar
  • 864
7 votes
2 answers
1k views

Editorial workflow / custom status

Currently my editors do not know when new content submitted by a user without publishing permissions is ready to be reviewed. The status of "disabled" could refer to an in-progress draft or a ...
user avatar
10 votes
1 answer
751 views

How can I cache a list of entries with pending postDates and have it automatically invalidate the cache appropriately?

I have a listing page of entries, some of which may have future-dated postDates. I want to cache the output, but only until one of the pending entries goes live.
user avatar
  • 3,061
6 votes
3 answers
2k views

How do I find live and pending entries when using an array?

I have this in my listings template, but the 'pending' parameter does not seem to work. {% set urlCat = craft.request.getSegment(3) %} {% set category = craft.categories.slug( urlCat ) %} {% set ...
user avatar
  • 1,661