Opened 10 years ago

Closed 9 years ago

#8332 closed enhancement (worksforme)

Add a "published" attribute to blog posts

Reported by: quad Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


This would offer an easy way for the author to hide a blog post regardless of the permissions a person has on it. Most blog systems features this functionality already. Plus, while I recognize the exact behavior needs to be defined first, it can be implemented by adding a single attribute to the post.

Some quick specs I can think of:

  • The attribute can be toggled by authors and editors.
  • It affects all versions of the blog post.
  • It's goal is to prevent the blog from being included in the blog page display.
  • A checkbox control needs to be added on the blog post edit and creation pages.

It would allow one to post a new message while still preventing it from being displayed on the blog page. The editor could adjust the blog post freely before actually publishing it on the blog, or prepare a message for future publishing.

I understand that the FullBlogPlugin is not meant to be a full-featured web log system, however this feature seems simple enough for the added benefits.

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Ryan J Ollos

Type: defectenhancement

This feature is similar to the existing BlogDraftPlugin. From the project page:

  • Sample plugin that implements blog post 'draft' functionality (

See also #6047.

comment:2 Changed 9 years ago by osimons

Resolution: worksforme
Status: newclosed

This "hide-data-until-it-is-ready" is not really something that is natural for a Trac project. Just like wiki, tickets, source code ++; once data is entered it is shared.

However, FullBlogPlugin provides all the hooks needed to hide data using permissions - which is the trick used by the blogdraft plugin that is included as a sample plugin in the source code. It should work well for most circumstances.

Hopefully the plugin can work OK for you?

I'm closing this ticket as 'worksforme' as there is a working solution, and it is not my intention to add much in the way of richer publishing support.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.