-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code example for submission model #11
Comments
Or, in other words, how can I only display entries that are approved? |
An entry is not public by default (when using this plugin in an editor workflow, with permissions setup correctly), which is why an editor needs to submit an entry for approval. Say, and editor creates a new entry. This cannot be published (live), and instead needs to be submitted for review. This is setup through Craft's permissions. As such, when you use This is all native Craft publishing and permissions behaviour by the way. As such, its essentially 'done for you', and there's no need to specifically query which entries are approved or not. The Submission Model is something internal to the Workflow plugin, and used to track the status of a permission, among other things. Hope that makes sense? |
Closing due to inactivity. |
Hi, I am not sure if I understand what the submission model does?
Would this be something like: craft.workflow.section('xx').id?
A code example would be very welcome...
The text was updated successfully, but these errors were encountered: