Doc about array[] in config files

Doc about array[] in config files

Thursday 23 November 2006 6:09:23 am - 1 reply

Modified on Thursday 23 November 2006 6:09:43 am by Pascal France

Author Message

Matthew Carroll

Thursday 23 November 2006 3:30:01 pm

You clear an array in the config files like this:

ArrayName[]

...so in the example given on the page you linked to, if you wanted to first clear the array to make sure there were no other extensions being loaded, the settings would become:

[ExtensionSettings]
ActiveExtensions[]
ActiveExtensions[]=ezdhtml
ActiveExtensions[]=ezpaypal

...that is useful to stop default settings from showing up in your siteaccess' array settings. I think the most common use for this I have found is AvailableSiteAccessList[], which I use to prevent other siteaccesses from showing up in the options lists in the admin interface.

Matthew

http://carroll.org.uk

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.