Monday 10 December 2007 6:25:54 am
Its pretty straight forward to use the design as an extension. First come up with a name for your extension, might as well use mydesign for example purposes. Make a directory within extension for that. Also make design and settings folders inside your new mydesign folder. Then move the /design/mydesign that you already have into /extension/mydesign/design/. Your structure should now be something like:
/extension
-collectexport
-ezdhtml
-ezodf
-ezpaypal
-ezwebin
-mydesign
--settings
--design
---mydesign
----override
----templates
And so on. Within the settings folder you need a design.ini.append.php with at least the following:
<?php /* #?ini charset="utf-8"?
[ExtensionSettings]
DesignExtensions[]=mydesign
*/ ?>
In you siteaccess settings (eg /settings/siteaccess/eng/) you need to alter site.ini.append.php. Look for the DesignSettings part and add your design:
[DesignSettings]
SiteDesign=mydesign
AdditionalSiteDesignList[]=ezwebin
AdditionalSiteDesignList[]=base
And activate the extension:
[ExtensionSettings]
ActiveAccessExtensions[]=mydesign
Clear the cache and check your site. This should be all you need to get going.
|