Section Access disappears in User Accounts

4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 24, 2009   (RSS)

Re: [Djulia] Section Access disappears in User Accounts

By Djulia - February 24, 2009 - edited: February 24, 2009


After the translation, Section Access disappears in User Accounts.



I think that I found the origin of the problem.

When I made my translation, the value of "type" is "none":

[accessList]
order = 17
label = "Acces Section"
type = "none"

Before the translation the value of "type" is "accessList" :

[accessList]
order = 17
label = "Access Section"
type = "accessList"

A solution to correct this problem ?

Thanks,

Djulia

Re: [Djulia] Section Access disappears in User Accounts

By Dave - February 24, 2009

Hi Djulia,

The User Accounts "Section Access" field uses a field type that isn't available from the field editor. So saving it reverts it to a different field type.

The easiest way to make this change is to edit: cmsAdmin/data/schema/accounts.ini.php, search for "accessList" and reset the "type" line with the value shown:

[accessList]
order = 93
label = "Section Access"
type = "accessList"
isSystemField = 1

It's that type="accessList" that's getting reset. We'll work on a better way to make those fields editable for future.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Section Access disappears in User Accounts

By Djulia - February 24, 2009

Hi Dave,

Thanks, it is a good solution.

Djulia