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
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
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...
http://www.concrete5.org/documentation/developers/5.6/system/events...
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
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
thanks
dkj