Sunday 20 June 2010 1:50:17 pm
Hi there, I created a new extension in the eZ 'extension' folder with the intent of overriding ezwebin layout with a custom one... But it seems not to do what it is meant for. Here are all the steps I did:
[root@ip ~] cd /var/www/vhosts/website.net/httpdocs/extension
[root@ip extension] mkdir eznew
[root@ip extension] cd eznew
[root@ip eznew] mkdir design
[root@ip eznew] cd design
[root@ip design] mkdir new
[root@ip design] cd new
[root@ip new] mkdir images stylesheets javascript templates override
[root@ip new] cd override
[root@ip override] mkdir templates
[root@ip extension] cp ezwebin/design/ezwebin/templates/pagelayout.tpl eznew/design/new/templates/
[root@ip extension] cp -rf ezwebin/design/ezwebin/stylesheets/* eznew/design/new/stylesheets/
[root@ip eznew] mkdir settings
[root@ip eznew] cd settings
[root@ip settings] touch site.ini.append.php
[root@ip settings] touch template.ini.append.php
[root@ip settings] touch design.ini.append.php eznew/settings/design.ini.append.php
<? /* #?ini charset="utf-8"?
[ExtensionSettings]
DesignExtensions[]=eznew
*/ ?>
[root@ip eznew] mkdir autoloads
[root@ip eznew] mkdir classes
[root@ip eznew] cd autoloads
[root@ip autoloads] touch eztemplateautoload.php eznew/autoloads/eztemplateautoload.php
<?php
$eZTemplateOperatorArray = array();
?> eznew/settings/site.ini.append.php
<?php /* #?ini charset="utf-8"?
[TemplateSettings]
ExtensionAutoloadPath[]=eznew
*/ ?>
[root@ip eznew] mkdir translations
[root@ip eznew] cd translations
[root@ip translations] mkdir ita-IT
[root@ip translations] mkdir eng-GB
[root@ip translations] cd ita-IT
[root@ip ita-IT] touch translation.ts extension/eznew/translations/ita-IT/translation.ts
<!DOCTYPE TS>
<TS>
<content>
<span> </span><name></name>
<span></span><message>
<span></span><source></source>
<span></span><translation></translation>
<span></span></message>
</content>
</TS>
[root@ip translations] cp ita-IT/translation.ts eng-GB eznew/settings/site.ini.append.php
<?php /* #?ini charset="utf-8"?
...
[RegionalSettings]
TranslationExtensions[]=eznew
*/ ?> Activating the extension: setting/siteaccess/public/site.ini.append.php
<?php /* #?ini charset="utf-8"?
...
[ExstensionSettings]
ActiveAccessExtensions[]=eznew
...
*/ ?> Activating the design: settings/siteaccess/public/site.ini.append.php
<?php /* #?ini charset="utf-8"?
...
[DesignSettings]
SiteDesign=new
...
AdditionalSiteDesignList[]=ezwebin
AdditionalSiteDesignList[]=base
AdditionalSiteDesignList[]=standard
...
*/ ?> ...How comes eZ doesn't apply the changes made in the pagelayout.css of this extension? Any idea? Did I miss something? Many, many thanks in advance!
loredanaebook.it
|