Multiple modules in one extension?

Multiple modules in one extension?

Monday 31 October 2005 5:39:32 pm - 4 replies

Author Message

Clemens T

Monday 31 October 2005 6:09:25 pm

never mind.. got it
use:
ModuleList[]...
in module.ini.append.php (of your v2 Extension)

Xavier Dutoit

Tuesday 01 November 2005 12:01:47 am

Thanks for the tip !

http://www.sydesy.com

Kristof Coomans

Tuesday 01 November 2005 2:11:12 am

Hi Clemens,

I think you misunderstood some of the INI settings. Those you've mentioned are related to extensions, not to modules. So you'll need to specify your extension name and not the module names.

For <i>design.ini.append</i>:

[ExtensionSettings]
DesignExtensions[]=yourextensionname

So in your case, it will be "Extension v2".

The same for <i>module.ini.append</i>:

[ModuleSettings]
ExtensionRepositories[]=yourextensionname

If you want to fetch a template, you don't need to specify an extension name. You will only need to specify the location of the template inside the site design's templates directory. So if your template is located at <i>extension/extension v2/design/standard/templates/oldExtensionOne/list.tpl</i>, then indeed you will need the code:

...design:oldExtensionOne/list.tpl...

I'm not sure, but I think <i>ModuleList[]</i> in <i>module.ini.append</i> is only used to avoid URL alias overriding. Your custom modules will already be available without those settings, but ofcourse it's a good idea to list them there.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Clemens T

Tuesday 01 November 2005 3:58:00 am

Yeah, that's what I have, right now. Thanks Kristof, got it.. yesterday @ 03:40 AM hehe.

Greets,
Clemens

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.