Forums / Developer / external extension directory

external extension directory

Author Message

Johann Lemaitre

Monday 23 May 2011 8:19:28 am

Hi,

I want to group some general extensions in a different directory than extension. It is possible ?

My structure will be :

ezPublish
  -- autoload
  -- bin
  -- ....
  -- extension
  -- common_extension ...

Thx for ideas.

Johann Lemaitre

Marko Žmak

Monday 23 May 2011 9:20:07 am

There's an ini setting that allows you to change the extension folder:

  • http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Configuration-files/site.ini/ExtensionSettings/ExtensionDirectory

But by changing this, you should also move the default eZP extension to that folder which could complicate your life when you do the upgrade.

The question that comes to my mind is why do you want to do such a thing? I don't see any valid reason for doing it. Maybe there's another solution for the specific thing you are trying to do...

Also take a look at this blogpost:

  • http://share.ez.no/blogs/marko-zmak/loading-external-libraries-in-extensions

maybe it could help with what you are looking for.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth