Forums / Developer / Module displayed twice

Module displayed twice

Author Message

j jevack

Monday 09 January 2006 12:30:09 pm

We've coded a custom extension for ezp. When attempting to create a policy for the new module in the admin interface, the module name is listed twice in the dropdown on the first screen of the policy wizard. It seems to have no effect on how the policy is applied but the concern is that something is improperly coded in the module or an ini file.

Any suggestions?

Thanks,

Jason

Bruce Morrison

Monday 09 January 2006 2:37:37 pm

Hi Jason

Check ActiveExtensions & ActiveAccessExtensions under [ExtensionSettings] in your various site.ini files (override, siteaccess, settings) etc. The extension should only appear once in the override using (ActiveExtensions) or in each siteaccess using ActiveAccessExtensions.

Check system info and see if your extension appears twice.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

j jevack

Tuesday 10 January 2006 3:45:21 am

Thanks Bruce.

I had the extension defined in both the module.ini and in the module.ini.append in the settings directory of the extension. I thought the ini files would override each other but that doesn't seem to be the case. If I remove the module.ini.append file, the module appears only once in the dropdown on the first screen of the policy wizard.

Regards,

Jason