Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-03-01 19:07:43

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

Restricted Categories and Sections privileges

How do I do this? I couldn’t find any information about this anywhere:

When a user is logged in to write/edit an article:

- only allowed categories are visible/selectable for certain privilege and above

- only allowed sections are visible/selectable for certain privilege and above

This way different staff writers could have different restrictions to what categories or sections they can publish articles. It’s a really important missing feature from Textpattern.

—-

Sorry found this right after entering my post:

http://forum.textpattern.com/viewtopic.php?id=12051

Last edited by -rr- (2007-03-01 19:20:14)

Offline

#2 2007-03-01 20:07:51

anoke
Archived Plugin Author
Registered: 2006-04-15
Posts: 152

Re: Restricted Categories and Sections privileges

If you can change your goal from “let authors post only spesific sections/categories” to “only show posts by this person” you might get decent results with (in page)

<txp:if_section name="bulletins">
<txp:if_article_list><txp:article_custom author="author-name" /></txp:if_article_list>
<txp:if_individual_article/><txp:article /></txp:if_individual_article/>
</txp:if_section> 

So you kind of ‘fake’ author pages catching article listings and individual articles in that one section.

But no, nothing new under the sun after that thread you already found :(


- When chickens are cold, they roost in trees; when ducks are cold, they plunge into water -

Offline

Board footer

Powered by FluxBB