Forums / Developer / Putting /design/plain files in my extension?

Putting /design/plain files in my extension?

Author Message

Clemens T

Sunday 13 November 2005 3:48:21 am

Heya all,

I got the following situation, the directories in ezpublish are filled as follows:

- /design/plain -> contains my overriden page_layout etc etc, and full view of my own classes etc.

- /extension/my_extensionv2/ -> contains multiple modules which interact with the EZ system, but rely on things like the page_layout

-/settings/override/ -> here are some global site settings WHICH I USE to make my site configured in the right way
-/settings/siteaccess/plain/ -> here are the settings of my site's facade. Including OVERRIDE.ini.append.php

Now, question is... Can I put all of these files (of the different directories) in /extension/my_extension2/ dir

(and offcourse in:
my_extension
/design/plain/ *.*
/settings/*.*
)

Do I need to change for example the override.ini.append.php's path's to the overrides ... or does ezpublish handle this in a very userfriendly way?

Concluding: what I want is a complete site-extension which I can turn ON and immediately the default ezpublish installation converts to the site of my extension, that's the reason for trying to do this!

Thanks,
Clemens