Questions tagged [draft]

The tag has no usage guidance.

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

how do I change entry from draft to live?

I have an entry showing as draft but I would like it to go live. I have looked but can't work out what I'm doing wrong.
Liam's user avatar
  • 11
0 votes
0 answers
66 views

Revision history depending on the site, not the entry

https://github.com/craftcms/cms/discussions/8912 I have a site with a large number of subsites, so it would be very useful for content editors to save revisions/drafts for each site instead of entry. ...
RomanAvr's user avatar
  • 669
2 votes
2 answers
77 views

Auto draft with background changes

I have an entry with a readonly json field (Jason plugin). This field is populate with data from an external api. So I have a button in my entry page that call a custom route which call the api and ...
Robin Gauthier's user avatar
1 vote
1 answer
140 views

Allow drafts in entries field

Is it possible to allow selecting drafts in an entries field? Not drafts of an existing live entry, but drafts that aren't published yet. The only thing I found is an ElementCriteriaEvent triggered in ...
MoritzLost's user avatar
  • 10.7k
1 vote
1 answer
97 views

Element-api - filter Draft entries by the draft author (not original author)

I have a remote app that enables preview based on your editor craft account. I want to retrieve draft entries that they are working on, but i cant find a way to do this. 'authorId' seems to always be ...
Spotd's user avatar
  • 123
0 votes
1 answer
155 views

Making changes to existing page - how do I make a draft page first?

I'm making extensive updates to our homepage. Before I dig in, I want to confirm the steps to create a draft without overwriting the existing page. Select the entry that requires changes Select "...
Kara's user avatar
  • 3
1 vote
1 answer
95 views

Draft from front-end form with limited field set

I have a front-end form which sends a limited selection of the fields to the action entryRevisions/saveDraft (actually a custom plugin action, but in the it end up there). I expected it to take the ...
ctigelaar's user avatar
  • 137
1 vote
1 answer
344 views

How to view a draft page in live view without publishing it

I am creating a news item page for a future release but I can't figure out how to preview it in Live View without Enabling it. Is there a way to view a page in progress without publishing it live?
Steve's user avatar
  • 11
1 vote
1 answer
83 views

craft.entryRevisions.getDraftsByEntryId(entry.id) is returning an empty array

I'm trying to get the drafts for the entry on the front end to populate my plugin on the sidebar but cannot get the drafts returned with this code in a Twig template. entry is an EntryModel here. ...
Angelo's user avatar
  • 201
1 vote
1 answer
61 views

Force Field Limitation in Drafts - Front End Form

I'm not sure if this is a two part question yet. I need to enforce field limitations (specifically, character limits for plain text fields) when working with drafts. In the CP, I discovered that ...
Aaron Ransom's user avatar
3 votes
1 answer
632 views

Get draft content in front end form

I have a live entry with an 'eventTime' text field having the content '2pm'. I also have an unpublished draft saved for that same entry with the 'eventTime' field having the content '3pm'. I use the ...
user avatar
6 votes
1 answer
3k views

Schedule a draft to auto publish?

Is there a way to schedule a draft of a entry to go live?
Taylor's user avatar
  • 123
1 vote
3 answers
599 views

Is it possible to disable token expiration? Or prevent follow from bots?

So I have some gated content entries and need to prevent these from being indexed by search engines etc. Currently using draft pages but the tokens expire which then causes a 404 if someone is to land ...
Bowenac's user avatar
  • 801
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 ...
Willam Owen's user avatar
2 votes
1 answer
1k views

Can I select the latest draft of a given entry?

I've built a help site for a client that pre-releases articles to a select group of beta users. The updated articles (Craft entries) are published as drafts until features make it out of beta and into ...
Matt Stein's user avatar
  • 3,996
3 votes
2 answers
650 views

How can I get unpublished drafts in my plugin?

I'm building a widget where I want to list all unpublished drafts (made by users without access to publish live changes), but I can't figure out how to get them.
André Elvan's user avatar
  • 7,278
3 votes
2 answers
1k views

Creating Drafts from Frontend Entry Form

A two part question here. When saving an entry from front-end entry form, can I designate it to save as a draft? If so, how? If the answer to #1 is true, can I query against that to list only entries ...
David A McInnis's user avatar
3 votes
1 answer
202 views

Can a User Group Create Drafts of New Entries Only?

I'm trying to set up a workflow where I have a group of "Drafters" who can create new entries but the new entry is not published by default. I've made the following setting for this group. However, ...
Wes Rice's user avatar
  • 630