Limit No. of pages that can be added in concrete5

Permalink
Hy Guys,

I would like to limit no. of new pages that can be added/created in concrete5 by a user belonging to a particular group. Is it possible ? I am currently using 5.6.3.2.

I am not much of PHP developer but a tweaker.

Regards,
dkj

View Replies:
dkjain replied on at Permalink Reply
What the.....Why no reply after 4 days. I think my request is very clear to understand. Can any senior member help with this.

thanks
dkj
ryan replied on at Permalink Reply
ryan
There's no setting that does that now. There is an on_page_add event that could be used to code a solution.

http://www.concrete5.org/documentation/developers/5.6/system/events...
dkjain replied on at Permalink Reply
Hi,

As I stated that I am not much of a developer but a tweaker and baking a proper concrete5 soln using events would be a hell of a task though I plan to take c5 dev in full swing very shortly however I need to get this done in a day or two.

Is it possible that the function/method that creates the page could be wrapped in condition statements as below:

if (the logged in user belongs to a particular group)
{ //execute create New page func() }
else
{ message('Access Denied') }

Could you tell me where the function / method is defined.

thanks
dkj