Activation status

Talk about new features for CMSMS and modules.
Post Reply
mikatchu
New Member
New Member
Posts: 9
Joined: Sun Dec 28, 2008 10:16 am

Activation status

Post by mikatchu »

Hi,

Here is a suggestion for future releases :

- Multiple/extensible activation status for elements :

Imagine that, for each page, blog entry, news entry, ..., you use an 'active status' based the following system :
- 0 -> element is disabled, invisible on the site
- 1 -> elements is actived, visible on the site for everybody (i mean visitors and backend admins)
- 2 -> element is draft, visible on the site only for admins logged in the backend
- 3 -> element is waiting for approval, visible on the site only for admins logged in the backend
- ....

You can use a global 'active_condition', that applies to all elements having an active condition to be displayed, defined at the beginning of the frontend, that says :
- for a normal visitor : 'where active=1'
- for an admin logged in the backend, visiting a page on the frontend : 'where active>=1' (or something smarter if other levels are defined, like 'where (active=1 OR active=2 OR active=4...)'). This allows the admin to preview actived pages, + pages that have the 'draft' status, to preview them.

It could simplify the preview process, because to preview an element, you just have to make a link to the element in the frontend (and the element remains invisible to frontend visitors, because of the admin detection).

After that, in the backend, you can have an option in the 'User preference' :
'When i am logged in backend panel and i am visiting the frontend, show me in addition of the active pages :
_ all inactive pages GREAT ! It will be a big performance improvement.
If you need some help to rewrite some admin modules (modifiy tree, reorder, move element ...), i have developped something based on the same idea, for multilingual environnement, maybe it can help.
jakub7
New Member
New Member
Posts: 7
Joined: Wed Jan 28, 2009 2:09 pm

Re: Activation status

Post by jakub7 »

+1
Post Reply

Return to “Feature ideas”