Thursday 25 February 2010 12:59:34 pm - 6 replies
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
Thursday 25 February 2010 9:29:20 pm
Hi Vins,
Some good articles I linked to are posted in http://share.ez.no/forums/general...emotionless-and-objective-comparison.
Another resource could be this book, read it myself and can really recommend it: http://www.amazon.com/eZ-Publish-...=books&qid=1267129356&sr=8-1
Regards Robin
Thursday 25 February 2010 11: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!
Modified on Thursday 25 February 2010 11:33:20 pm by Theodoros Papageorgiou
Friday 26 February 2010 9: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
You must be logged in to post messages in this topic!