Publish after authorization

7 posts by 2 authors in: Forums > CMS Builder
Last Post: December 18, 2009   (RSS)

By (Deleted User) - December 18, 2009

Hello,

I have built a site using cmsbuilder and have a blog area. My client would like to allow members of a tour to be able to add their own blog posts but they are not published until authorized by an editor for example.

Is this possible?

Thanks Jono

Re: [jonoc73] Publish after authorization

By gkornbluth - December 18, 2009 - edited: December 18, 2009

Very Easy,

1) Make sure that your blog users accounts are designated with author or non-admin privileges.

2) Add a special "hidden" field to your section with the default state set to "Checked"

3) Make sure too check the "admin only" box in the advanced options.

Only an admin will have access to the "Hidden" field

The Hidden field will not show on the "author's" field list

The record will remain hidden from the web site until an admin (approves) removes the check mark from the hidden field.

Best,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Publish after authorization

By (Deleted User) - December 18, 2009

Hi,

I have done the items you have suggested and the blog item still shows - how do I get it so that it doesn't show?

Do I set up an 'if' php command to not show it unless the tick is gone?

Thanks Jono

Re: [jonoc73] Publish after authorization

By gkornbluth - December 18, 2009

the hidden field (lower case) is a special field that automatically works to hide a record if it's checked.

Do the existing records that are showing on the site have the box checked (hidden) or unchecked (visible)? You may have to go in and manually check them if they already exist.

What version of the program are you using?

Hope that gets you going.

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Publish after authorization

By (Deleted User) - December 18, 2009

Hi Jerry,

I am using v2.0.

I can't find a hidden field - I can add a check box and click the admin only box?

jono

Re: [gkornbluth] Publish after authorization

By (Deleted User) - December 18, 2009

Great,

Works like a charm - thanks for your help.

Jono