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: Parameter show_future_entries does not give back future entries

Status Resolved
Add-on / Version Publisher 1.6.7
Severity
EE Version 2.10.1

Madelon

Sep 08, 2015

Description:

A template tag without publisher parameters returns future entries:

{exp:channel:entries channel="date" dynamic="no" show_future_entries="yes" disable="categories|category_fields|member_data|pagination"}
{title}
{/exp:channel:entries}

When the publisher parameters are added, future entries are not returned:

{exp:channel:entries channel="date" dynamic="no" publisher_lang_id="{publisher:current_language_id}" publisher_enable_persistence="n" show_future_entries="yes" disable="categories|category_fields|member_data|pagination"}
{title}
{/exp:channel:entries}
#1

BoldMinded (Brian)

Yo don’t need to add the land id param if you are just assigning it the current language. It’s already doing that by default. So this only happens when you turn persistence off?

#2

BoldMinded (Brian)

After thinking about this I’m not sure how to reliably fix it. If there is a solution it’s going to take me awhile to get it implemented. You may need to find a work around if you need this functionality now.

#3

Madelon

I tried it without publisher_lang_id, but unfortunately I get the same result. I will think on a work around.

#4

BoldMinded (Brian)

You’re getting the same result b/c the key component here is the persistent parameter, not the lang_id. The only reason you’d need to add the lang_id parameter is if you’re trying to show entries in a language other than the language the user is currently viewing the site in.

#5

BoldMinded (Brian)

Madelon, l took a look at this and I think the issue lies elsewhere. Check your exp_publisher_titles table and see if these missing entries have an author_id value in the database. If not, you may need to manually edit those few entries to assign the correct author ID in the database. Once I fixed my future entries this way they showed up fine.

#6

BoldMinded (Brian)

Comment has been marked private.

#7

Madelon

There where indeed empty author ID’s in the database. I completed all the missing ID’s and installed the version you provided. It is now working as expected.

Thank you Brian!

Login to reply