Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-06 23:37:28

-rr-
Member
Registered: 2005-09-11
Posts: 73

Article visibility online: hidden, draft, pending...

Hi,

I don’t know if this should be a feature request, but I’ve been searching far and wide and I can’t find an answer to this:

How can I make draft and pending articles visible in the frontend to freelance and/or staff writers, but not visible to the public?

I’d like to have the writers see the full layout of the site with all draft and pending articles in situ, so they can find and edit the articles using the site layout instead of wading through the backend article list.

Clicking on the frontend edit link would take them to the article edit view in the backend. Also freelance writers should be able to edit only the text regardless of who created the article, but not be able to do anything else; change date, move, publish, delete, etc. which would be reserved to the staff writers and up…

I don’t want to password protect individual articles nor sections. The existing privileges system is good enough if only above mentioned would be possible.

Of course different privilege levels would be a dream. Pending articles would be visible to freelance writers, while drafts are visible only to staff writers… or whatever. I assume Textpattern can’t do article revisioning like wiki either…

Since Textpattern can be used to create a wonderfully visual and organized website interface, why can’t the frontend be used to access the editorial draft and pending content too, instead of only through the (not-so-visually-organized) backend article list?

This could be possible by simply toggling draft and pending article frontend visibility and a little added privilege handling. Draft and pending article links could be defined in CSS. Shouldn’t be a big deal, should it?

Offline

#2 2005-10-07 01:16:53

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Article visibility online: hidden, draft, pending...

Shouldn’t be a big deal, should it?

You tell us – send a patch, and we’ll take a look.


Alex

Offline

#3 2005-10-07 23:28:57

-rr-
Member
Registered: 2005-09-11
Posts: 73

Re: Article visibility online: hidden, draft, pending...

Sorry, didn’t mean to sound impertinent. I’m no programmer…

Offline

#4 2005-10-08 13:28:35

-rr-
Member
Registered: 2005-09-11
Posts: 73

Re: Article visibility online: hidden, draft, pending...

I guess I’m the only one who thinks this is a useful idea then? Or does a mod exist for this already?

Offline

#5 2005-10-26 18:08:32

michaelklouda
New Member
Registered: 2005-10-22
Posts: 2

Re: Article visibility online: hidden, draft, pending...

I would like this functionality too. It makes a lot of sense to me to be able to have someone be able to view an article that is not “published” in order to approve it.

I guess one could make a category for pending and not link it into the site, then have a page for the pending category that will show all the articles available. Need to think that through though.

Last edited by michaelklouda (2005-10-26 18:09:26)

Offline

#6 2005-10-26 18:13:42

michaelklouda
New Member
Registered: 2005-10-22
Posts: 2

Re: Article visibility online: hidden, draft, pending...

Okay, tried this out and it seems to work.

I created a category called pending and a section called pending.

The section is not on the home page, syndicated or in the search.

An article is “live” but assigned to the Pending category and Section.

The article does not show up on the site at all.

But if you enter the domain name followed by /pending then you see the articles that are assigned to this category. So they can be viewed if you need them to, but unless you know the url they are not visible.

Perhaps I am missing a flow (please let me know). I am really new Textpattern so . . .

Michael

Offline

#7 2005-10-27 03:49:24

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Article visibility online: hidden, draft, pending...

What you’re describing is the expected, proper behaviour. If you want to view a section, you always have to view your-site.com/section-name (if you’re using clean urls). You don’t need the category at all. :)

Offline

Board footer

Powered by FluxBB