Admin Access: Customising Menu

15 posts by 3 authors in: Forums > CMS Builder
Last Post: April 4, 2012   (RSS)

Hi,

Further to my previous post, I changed the code to be as follows and it now works!

($userNum, 'cms_listings', '6', NULL, '1234567890'),

Hope that helps someone.

Thanks,
Greg

By Chris - September 17, 2010

Hi Greg,

Oh, I thought you meant when adding users in the CMS Builder admin interface!

Nicely done! Glad you got everything figured out! :)

Please let us know if you have any questions.
All the best,
Chris

Re: [Chris] Admin Access: Customising Menu

By gversion - April 4, 2012

Hi Chris,

I have setup a new "link" called "Email Alert Settings", under Section Editors and this displays a URL within an inline frame.

I am trying to edit the front-end user account signup file to provide users with access by default to this link from the menu within their cmsAdmin account.

I have inserted the following code into the user signup form PHP file:

($userNum, 'email_alert_settings', '6', NULL, '1234567890'),

However, when I login to cmsAdmin as a regular user and click on the link I receive the following error message:


This section isn't configured to allow 'Author' user access. Ask the webmaster to give you 'Admin' access to this section or create a field called 'createdByUserNum'.



Can you please tell me how to resolve this?

Thank you,
Greg

By Jason - April 4, 2012

Hi Greg,

Text Links are a special type of section. They don't have the usual system fields that other sections do. Author access can only be determined if the createdByUserNum field is present, which isn't true for text link sections. In order to do what you want, you'll need to give them editor access to the section. This can be done by using 9 instead of 6.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/