utilitees

- Addons for ExpressionEngine 1.6.x

Publish Queue Documentation

Download Download


Installation:

Unzip the archive and copy the file pi.publish_queue.php into the plugins-directory inside your Expression Engine system-directory.

Back to top

Preparation

To queue entries for auto-publishing a custom entry status is used. Goto Admin › System Administration › Weblog Administration › Custom Entry Statuses, select the status group that is used by the weblog you’re going to work with and add a new status, e.g. “Queued”.

Now, whenever you post a new entry that is supposed to go live later, assign your new status to it.

Back to top

Plugin tag

{exp:publish_queue weblog="blog|news" open_status="open" queue_status="queued" interval="120"


Place the plugin tag into a template that is regularly visited. Every time it is called it will check if there are queued entries and whether it is time to publish the next one.     

Back to top

Parameters

weblog="my_blog" 

This parameter is mandatory.
If you want to limit the functionality to (a) particular weblog(s) you can
specifiy this here using the usual syntax.

open_status="open" 

This parameter is mandatory.
The status entries get assigned in order to publlish them.

queue_status="queued" 

This parameter is mandatory.
The status which identifies queued entries.

interval="120" 

This parameter is mandatory.
The interval in which queued entries are supposed to be published in minutes.

verbose="true" 

This parameter is optional and is only intended for debugging.
If you set this parameter to any value the {exp:publish_queue}-tag will print error messages if a required parameter is missing or wrong.
It will also output the total number of queued entries and the time in which the next entry will be published.
Remove this parameter if you want no output.

Back to top

Questions / bug reports

For general comments, brickbats & bouquets please use the form over here.
Name:

Email:

URL:


Remember my personal information
Notify me of follow-up comments?


Page 1 of 1 pages

User Talk

Oliver:
2010-02-11 12:39

Yes, it should.



Joe:
2010-02-03 22:30

Will this allow you to then use db caching since you’re not relying on the future ee entry support?