Forums / General / how to begin with eZ publish

how to begin with eZ publish

Author Message

Vins Prasad

Thursday 25 February 2010 3:59:34 am

Hi All,

I am new for eZ Publish (also new for PHP :)) and need to build a small site using eZ Publish. I have gone through many support documents to learn how to begin, how to create my own templates and etc. But still I am in no-where, which still can not build my site. Could you please let me know some instructions or step-by-step guidance or any kind of help that will help to me. I am really appreciate your feedback.

I am using 4.2 with Website Interface 1.5.

I have very basic design which has a Top banner, then 3 Columns and the Footer. what I need to achieve is, Build a Template for that design then add many pages using that template and When I called my URL, one of my page (ie. Home) will display.

Thanking you in advance,

Vins

Robin Muilwijk

Thursday 25 February 2010 12:29:20 pm

Hi Vins,

Some good articles I linked to are posted in http://share.ez.no/forums/general/drupal-vs.-ez-publish-need-for-an-emotionless-and-objective-comparison.

Another resource could be this book, read it myself and can really recommend it: http://www.amazon.com/eZ-Publish-Enterprise-Step-Step/dp/1904811647/ref=sr_1_1?ie=UTF8&s=books&qid=1267129356&sr=8-1

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Theodoros Papageorgiou

Thursday 25 February 2010 2:29:28 pm

Hi Vins,

As Robin suggested the eZ publish book is a very good start.
Anyway here's the quick and dirty way:

1) Create a design/yourdesign directory containing the (images, stylesheets, javascript, templates, override) subdirs.

2) Edit the settings/siteaccess/yoursiteaccess/site.ini.append.php
In the section [DesignSettings] write your design dir:
SiteDesign=yourdesign
AdditionalSiteDesignList[]
AdditionalSiteDesignList[]=base
AdditionalSiteDesignList[]=standard
AdditionalSiteDesignList[]=ezwebin

3) Go to the admin interface > Quick settings (right side) and enable Debug output, Tempate debug, Inline template debug. Clear the cache.

4) Go to your site, refresh if necessary. You can see the paths of all the templates used to create your web page.

5) Copy those templates into your design directory keeping the exact directory structure and naming. You don't need to copy templates with 'datatype' in their path. Copy also the respective css files into your design/stylesheets dir.

6) Edit the copied templates in yourdesign dir starting from the pagelayout.tpl which is the "wrapper" template. Clear all the divs that you don't need, leaving the template code intact. Edit your css styles to reflect your template changes. Place your images into yourdesign/images dir.

7) Clear the cache and test your new design!

Happy learning!

WEBWiZ
Web Development
http://www.webwiz.gr

Elena Ivanova

Friday 26 February 2010 12:10:33 am

Hi Vins, for me the step-by-step tutorial at http://ez.no/ezpublish/documentation/building_an_ez_publish_site was very good starting point. It's true that this is old documentation, but the basic principles are there.

Hope this helps,
Elena

Vins Prasad

Friday 26 February 2010 3:48:51 am

Hi All,

I really appreciate your quick replies and thank you very much. I’ll follow each and get help from those.

Thanks again,

Vins

Bertrand Dunogier

Saturday 27 February 2010 1:03:05 am

Vins, could you please remove the link above ? This place isn't really one for illegal download links. This book is not free.

Thank you :)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Vins Prasad

Sunday 28 February 2010 7:58:17 pm

Hi Bertrand/All,

I have removed the link for the book due to legal constrains.

Sorry for the inconvenience happened.

Thanks,

Vins