Recurring publishing/unpublishing a news item


#1

Hi all,

 

This might be a basic question but I just can't figure out a solution to this problem.

 

We have a news item that needs to remain visible for 24 hours only, on the same day every week.

 

Is there a trigger setting that would allow this asset to appear/drop off without any manual intervention?

 

Thanks


(Joel Porgand) #2

create two triggers, one which has a "set future status" action set to live, the other with a "set future status" action of under construction. Make the "offset for the above fields" 6 days for the trigger that will be setting to live, and one day for the trigger that will be setting to under construction. Make "status changed" the triggering event for both triggers, and add an asset status "under construction" condition to the trigger that will be setting the thing live, and an asset status "live" condition to the other.  

 

kick it all off at the correct time by adding a "set future status" to the asset manually. 


#3

Thanks JP! I'll give that a go. For the offsets, do they need to be before or after the 'specified value'?


(Joel Porgand) #4

Thanks JP! I'll give that a go. For the offsets, do they need to be before or after the 'specified value'?

 

leave the 'immediately when this trigger is fired' radio button set, and 'after' in the specified value dropdown. 


#5

Im
Not sure if this is overkill !

I’d probably have the cache set to clear - trigger when the status of the news item goes to under construction as well. But it depends what level of caching you generally have set for your news area. You may have specific caching time set for nodes in your cache manager anyways.


Our caching is generally set at three hours - but for high profile assets it’s reduced.


Ideally if you are changing and asset to under construction at 12.15 by the time the majority of traffic is veiwing your site the asset should be ok.


(Joel Porgand) #6

Im Not sure if this is overkill !
I'd probably have the cache set to clear - trigger when the status of the news item goes to under construction as well. 

Yeah, clearing the cache of the page(s) where the news item is listed is definitely a good idea.