4
votes
Editorial workflow / custom status
Douglas has posted a great suggestion about creating an additional custom field for "Status". But I think it's also worth mentioning Josh Crawford's great free plugin called Workflow which takes Craft'...
3
votes
Set status 'pending' on Guest Entry form
The "status" on an entry isn't explicitly set like that. It is determined based on other properties of the entry. You will need to set these other criteria for the entry to appear as "pending".
An ...
2
votes
Accepted
Cache not invalidating when using pagination with cache
One issue I'm seeing, is that you're currently using craft.request.path as your cache key – however, that property doesn't actually include the pagination segment (i.e. the pageTrigger; p2, p3 or the ...
1
vote
Accepted
Fetch pending entries with GraphQL
If you want live and pending entries, you would need to pass status to your query with the values you want (docs).
query yourQuery {
entries(section: "yourSectionHandle", status: ["...
1
vote
Accepted
live and pending entries together not working
Use status(['live','pending']) to get all entries with both states.
Later, to get the linked entry you need to setup a custom route like `podcasts/{slug}. In the template you query the entry like ...
1
vote
How do I find live and pending entries when using an array?
For Craft CMS 3:
{% set allEntries = craft.entries.status('pending, live').section('sectionName').relatedTo(category).find() %}
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
pending × 7status × 4
entries × 2
templating × 1
form × 1
cache × 1
pagination × 1
array × 1
postdate × 1
graphql × 1
editor × 1
plugin-guestentries × 1
workflow × 1
draft × 1