Share » Forums » Setup & design » Redesigning The EZ Publish Site

Redesigning The EZ Publish Site

Redesigning The EZ Publish Site

Monday 09 August 2010 8:03:35 am - 6 replies

Modified on Monday 09 August 2010 8:07:16 am by Anaya P

Author Message

Greg McAvoy-Jensen

Monday 09 August 2010 9:17:38 am

Anaya,

The best way is to create your own extension (let's call it mysite). The directory structure, to get you started, would be:

extension

--mysite

----design

------override

--------templates

------templates

------mysite

----settings

----design.ini.append.php

Ignore packages for now. The package system is just a gui-based way for one to move a feature (like your design extension) or content from one eZ Publish installation to another.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Romeo Antony

Tuesday 10 August 2010 12:01:55 am

Anaya, before you go and design your ezsite , it would be better to read the contents in following link , reply given by Gautano.

http://share.ez.no/forums/developer/please-look-at-this-issue.-content-search-module-is-not-found

Anaya P

Tuesday 10 August 2010 3:44:17 am

Thanks Greg and Romeo for your advice.I have created, new extension, as Greg suggested, so will post the updates or more queries soon.Thanks once again!

Romeo Antony

Tuesday 10 August 2010 5:00:33 am

if you have custom extensions like that you created contian design folder then you should put

[ExtensionSettings]
DesignExtensions[]=myextension

in setting design.ini.append.php so that ez will know that your extension contain some design .

Regards Romeo

Anaya P

Tuesday 10 August 2010 5:45:00 am

Thanks Romeo

I have created design.ini.append.php file which is in settings folder in my extension, so path to the file is -extension/myextension/settings/design.ini.append.php

And also have below line in site.ini.append.php in settings/override/

ActiveExtensions[]=myextension

Just to check whether I have done correct settings or not, I have created core.css file in extension/myextension/design/myextension/stylesheets/core.css

But my site is not using css properties used in the extension/myextension/design/myextension/stylesheets/core.css

So am I missing anything? Do i need to do any more setting changes?

Regards

Romeo Antony

Wednesday 11 August 2010 12:15:24 am

Yes Anaya. You are correct . You have created settings folder in your custom extension in settings/design.ini.append.php

put

[ExtensionSettings]
DesignExtensions[]=myextension

In settings/override/site.ini.append.php , activated extension ActiveExtensions[]=myextension

Also whenevever you put custom javascript or css files , that should be defined in design.ini.append.php

So define this css file core.css siteaccess<user site access>/design.ini.append.php

like this CSSFileList[]
CSSFileList[]=core.css

if you are using some other custom css files , include it like this

CSSFileList[]
CSSFileList[]=core.css

CSSFileList[]=cstom_css file1.css

CSSFileList[]=cstom_css file2.css

Hope u get clear.

Regards Romeo.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu