Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Unpublished Structure draft previews not working, loading 404

Status Resolved
Add-on / Version Publisher
Severity Trivial
EE Version 31

Timothy Kelty

Jun 11, 2013

In my draft preview iframe, or with ?publisher_status=draft, unpublished drafts (where the EE status is still draft and not open), do not load, instead they get caught by my {if no_results}{redirect="404"}{/if} and I see a 404.

It’s loading the correct template, if I change the entries tag to have a status=“not closed”, it works. Of course, I don’t want that, as I don’t want these drafts live yet.

This is the Lipp site you’ve helped with with previously. If you want me to zip up the latest for you, I can.

I have the core hacks from your gist on https://support.ellislab.com/bugs/detail/19456 applied.

#1

BoldMinded (Brian)

Check out the very bottom of this page: http://boldminded.com/add-ons/publisher/template-tags

#2

BoldMinded (Brian)

That status variable is only assigned a value if ?publisher_draft is found in the URL. So normally it prints nothing.

#3

Timothy Kelty

Thanks!

I knew it was something like that, but I passed over it in the docs. Thanks.

Login to reply