eZ Community » Forums » Suggestions » LeftIdentifierList ezwebin
expandshrink

LeftIdentifierList ezwebin

LeftIdentifierList ezwebin

Tuesday 27 September 2011 11:49:27 am - 3 replies

Dear all,

I am working from an ezwebin installation. I experience the following with my custom extension

custom extension:

LeftIdentifierList[]
LeftIdentifierList[]=folder
LeftIdentifierList[]=feedback_form
LeftIdentifierList[]=gallery
LeftIdentifierList[]=forum
LeftIdentifierList[]=documentation_page
LeftIdentifierList[]=forums
LeftIdentifierList[]=event_calendar
LeftIdentifierList[]=multicalendar
LeftIdentifierList[]=blog
LeftIdentifierList[]=frontpage

siteaccess:

LeftIdentifierList[]
LeftIdentifierList[]=folder
LeftIdentifierList[]=feedback_form
LeftIdentifierList[]=frontpage
LeftIdentifierList[]=folder
LeftIdentifierList[]=feedback_form
LeftIdentifierList[]=gallery
LeftIdentifierList[]=forum
LeftIdentifierList[]=documentation_page
LeftIdentifierList[]=forums
LeftIdentifierList[]=event_calendar
LeftIdentifierList[]=multicalendar
LeftIdentifierList[]=blog
LeftIdentifierList[]=frontpage

ezwebin:

LeftIdentifierList[]=folder
LeftIdentifierList[]=feedback_form
LeftIdentifierList[]=gallery
LeftIdentifierList[]=forum
LeftIdentifierList[]=documentation_page
LeftIdentifierList[]=forums
LeftIdentifierList[]=event_calendar
LeftIdentifierList[]=multicalendar
LeftIdentifierList[]=link
LeftIdentifierList[]=blog
LeftIdentifierList[]=frontpage

In the backend it shows for the siteaccess

default

 default

default
 default
 default
 extension:eziog
 extension:eziog
 extension:eziog
 extension:eziog
 extension:eziog
 extension:eziog
 extension:eziog
 extension:eziog
 extension:eziog
 extension:eziog
 extension:eziog
 ext-siteaccess:eziog
 ext-siteaccess:eziog
 ext-siteaccess:eziog
 siteaccess
 siteaccess
 siteaccess
 siteaccess
 siteaccess
 siteaccess

[0]

[1] folder

[2] feedback_form

[3] frontpage

[4] folder

[5] feedback_form

[6] gallery

[7] forum

[8] documentation_page

[9] forums

[10] event_calendar

[11] multicalendar

[12] blog

[13] frontpage

[14] folder

[15] feedback_form

[16] gallery

[17] forum

[18] documentation_page

[19] forums

[20] event_calendar

[21] multicalendar

[22] link

[23] blog

[24] frontpage

In my understanding this is a mistake, since in the siteaccess setting the array for LeftIdentifierList is reset, so the array

1. should not contain "link"

2. the "link" entry should not show under siteaccess.

When disabling "link" under ezwebin settings the entry is remove from the array according to the backend.

Is this issue familiar to anybody?

Best wishes

Sebastian

Modified on Tuesday 27 September 2011 11:52:35 am by Sebastian Schoeller

Thursday 29 September 2011 2:27:14 am

Hello Sebastian,

I honestly do not rely on the settings module views in the admin.

I frankly don't trust them (Any time eZp writes out an ini file comments are removed from the file!)

I like my ini file comments intact thank you. So I recommend to everyone I meet using eZ Publish not use/rely on these features (as they have downsides and like all software prolly defects too). I've just found over time they are really not reliable, very useful or (most important to me) actively developed. To most users they don't even make functional sense (nor is their standard usage documented).

I've -always- found it more reliable, faster, simpler to create and edit my ini settings files by hand. When you take the time to do this, I think you learn more details about eZ more quickly.

Here is a really helpful guide to settings priority in eZ Publish, http://share.ez.no/blogs/gaetano-...uide-to-ez-publish-settings-priority

I hope this helps, Apologies for the lateness of my reply.

Cheers,

Heath

Thursday 29 September 2011 8:02:50 am

Heath,

thanks for your time. I also tend to edit configuration settings manually. Something strange though I noticed is that menu settings from ezwebin are not overwritten with menu settings in settings/siteaccess. Reading the post from Gaetano though I understand that one has to know these things.

Best wishes

Sebastian

Thursday 29 September 2011 12:40:26 pm

Chiming in with my very own (personal) advice:

- I agree with Heath that managing your ini files by hand is generally the right thing to do, but

- I always recommend to use the ini settings view in the admin interface for finding out where problems with inis are. It just takes so much pain away from finding you put in an extra blank space or got a lowercase letter wrong

Now, there are for sure a lot of things we could do to improve the situation, and of course any pull request is welcome:

1. report any bug you find in the the ini settings view in admin interface. That one should be 100% trustful

2. report any bug you find with a particular ini file not following the priority conventions in a particular case. That also should be trusted

3. improve the way that ini files are modified by editing them via gui (eg. preserve comments, whitespace)

4. provide an advanced view in admin interface that shows for every setting the list of files it has been found in / for every settings file the list of directories it has been found in

About 4: it's a bit low priority at the moment, but it will land in the ggsysinfo extension sooner or later

ps: you might find the ezgeshi extension a nice tool for helping with inis, it highligths them and puts yellow markers on extra whitespaces

Modified on Thursday 29 September 2011 12:41:38 pm by Gaetano Giunta

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from