We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Future entries not being (fully?) published

How Do I?

kjmb84's avatar
kjmb84
1 posts
8 years ago
kjmb84's avatar kjmb84

Right now whenever we set the Entry Date for an entry as sometime in the future it will not be accessible in any way until that time and, after the time of the Entry Date has passed, one can navigate directly to the URL. The issue is that the entry does not appear in any other fashion on the site. There are multiple feeds that show the latest set of entries which do not display the the new entry correctly if it’s Entry Date was initially set to the future.

If any of the following are done the entry becomes visible/accessible in the feeds:
* The entry is republished with or without changes made
* The cache is cleared
* The template that contains the feed is edited and saved

Here’s an example of the entries tag:

{exp:channel:entries 
 channel="stories" 
 sticky="no" 
 status="open|featured" 
 limit="10" 
 disable="categories|member_data|category_fields"
 cache="no"
 dynamic="no"}

I’ve tried it with and without cache enabled for a few different amounts of time (it was initially set with refresh=”700”, I tried 1, 5, 10, and waiting overnight) and made sure that it’s not wrapped in any other sort of cache. I haven’t found any settings that need to be fiddled with in order for future posts to work, but I could be missing something. The only thing close is under Global Channel Preferences there is an option to “Clear all caches when new entries are posted”, which would solve this, but seeing as the entry is technically already published it doesn’t clear the cache again when the entry hits its future time. The site is running on v2.10.1

Thanks in advance for any help!

       
Neil Evans's avatar
Neil Evans
1,374 posts
8 years ago
Neil Evans's avatar Neil Evans

Seeing as they do display after cache is clear i assume you are using: show future entries: https://docs.expressionengine.com/latest/channel/channel_entries.html#show-future-entries

In all honesty this does sound like a cache issue - be it server based or browser based (headers unchanged so browser does not reload page)…

Although the cache might be cleared for that specific tag, is it wrapper in any others that might be caching it? What type of cache are you using - is the server offering more advanced cache options which is handling this for you as such?

However, my bet is browser cache! browsers are desperate for speed, at the bain of us!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.