method schedule block to appear/disappear?
forgette - February 18, 2007 - 19:26
Does anyone know how to make a block to work with scheduler? If not with scheduler, possibly another module or work around that would accomplish that.
We have used scheduler to successfully time posting/unposting of a node, but we would like to find a method to do that with blocks.
Searched forums and can find plenty of info on scheduling nodes, but nothing on tying it to a block.

pseudo scheduling blocks
So it's not direct but it will still do the trick.
Use the node scheduler module (make sure your cron is set up and running automatically) along with views. Create a views for either a specific node-type or taxonomy. This will be how you can filter for each block you would like to appear/disappear.
Lets say you have a monthly event that changes and you would like it to be posted for just a month. You can create a node-type called ( for this purpose) monthly_event. Then create a view that has a block created for it and that filters this particular monthly_event-node. Make sure that this new node-type has the scheduler turned on (found in admin/content type). Each monthly event you create enter in the publish and unpublish information. Such as 2008/01/01 and 2008/01/31 or however you have your date input set to. As long as there is a node published to this block the block will be visible. If there is a month that you don't have any event that block will disappear.
All that's left is to stylize the node and the blocks layout and appearance.