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: How do I preview future or expired and closed entries in preview?

Status Resolved
Add-on / Version Publisher Lite 2.8.3
Severity
EE Version 4.3.4

Kees Internetbureau

Aug 28, 2018

I want to be able to see future, expired, closed, open and draft entries when clicking on the “Save & Preview” button.

I haven’t found any reference to previewing future entries in the documentation. Can you tell me how I can do this?

#1

BoldMinded (Brian)

That isn’t a Publisher related thing. You need to setup your templates just like you would in any other circumstance to show future or expired entries.

#2

Est Digital

But I just want to see the future entry in preview which I want to really pusblish in the future.

If I am correct, you are saying that you can only preview entries that you want to publish now or in the past?

#3

BoldMinded (Brian)

All publishers preview does is load a normal template with a draft status. As long as you have show_future_entries or whatever the param name is it should work. Just do what you normally do on the front end to show expired or future entries.

#4

Est Digital

Yes, but I won’t be able to use a conditional to just show future entries when using Publisher preview

#5

BoldMinded (Brian)

The only way I can think of to do that is if you check to see if ?publisher_status=draft is in the url, then do some template conditional logic.

#6

BoldMinded (Brian)

There is also the {publisher:entry_status} variable, but that will contain a string like “open|Draft|whatever” b/c its meant to be used in an entries tag. You could use EE’s regex conditional logic to see if “Draft” is in that variable, then do something in the template. See bottom of http://docs.boldminded.com/publisher/drafts-workflow

#7

BoldMinded (Brian)

Did you get this figured out?

Login to reply