Managing Post

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
lstench
Regular
Posts: 16
Joined: Mon Nov 19, 2012 1:59 pm

Managing Post

Post by lstench »

Is there a way to edit multiple post at once? Like changing all selected post to publish or draft?
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Managing Post

Post by Timbalu »

Not that I know!
You may need to learn writing a Serendipity plugin to do this, executing php loops interacting with the database and/or learn how to set up a well done database query with updating existing entries by ORDER.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Managing Post

Post by yellowled »

lstench wrote:Is there a way to edit multiple post at once? Like changing all selected post to publish or draft?
Apart from deleting multiple entries at once, no.

I'm not sure why we don't have this, I guess it doesn't really apply to the average workflow of blogging. I know what you mean from other CMSs, but it always felt a bit awkward there.

We might, however, want to put that on our agenda for future versions, unless there are specific aspects of the basic core architecture which make this hard to implement. Anyone?

YL
onli
Regular
Posts: 2829
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Managing Post

Post by onli »

Not a problem for the core. But I'd say it's an interface problem, where would you place the controls?
lstench
Regular
Posts: 16
Joined: Mon Nov 19, 2012 1:59 pm

Re: Managing Post

Post by lstench »

I am not sure I am up for writing a plugin, Is there any documentation for doing this as this may be a future project I would like to attempt.

I would love to see this feature added as it can be useful at times.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Managing Post

Post by yellowled »

onli wrote:But I'd say it's an interface problem, where would you place the controls?
That's what I meant by “awkward”. :) Contao uses this, and it basically lets you choose:

1. which bits of content (of the same type, I think) to multi-edit
2. what fields of those to multi-edit

and then gives you a list of the chosen fields in the chosen bits of content which you can edit.

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Managing Post

Post by Timbalu »

lstench wrote:I am not sure I am up for writing a plugin, Is there any documentation for doing this as this may be a future project I would like to attempt.
There are quite a few simple on-the-fly plugins in some forum threads, mostly posted by Garvin, though it will be not that easy to find them again. And there are some howto's out there, like the ones Onli posted on his blog. And this http://www.s9y.org/116.html to get known of the supported API hooks. Additionally you also might inspect some easy ones here https://github.com/s9y/additional_plugins by yourself.

I think the usage is a to specific need to have this in core by default.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Post Reply