Forums / Developer / eZ Publish Beginning Developer Course

eZ Publish Beginning Developer Course

Author Message

Yudi Setiawan

Friday 28 September 2007 1:17:27 am

Dear all,

I'm a newbie to eZ Publish.
I used to use Joomla, and now I'm learning eZ Publish for one of my company project.

Just curious, do we have something like Joomla! Beginning Developer Course (http://dev.joomla.org/component/option,com_jd-wiki/Itemid,/id,jbeginners:introduction/)?
I think it would be useful for a lot of new beginners like me who wants to learn to be an eZ Publish developer.
Just sharing an idea.

Thank you.

Betsy Gamrat

Saturday 29 September 2007 6:29:38 pm

Yudi,

You might want to start here: http://www.visionwt.com/training

My notes:

I apologize if this is too basic, to me, it is the heart of eZ, the beginning of everything. I hope it helps you.

eZ has a steep learning curve, but, to get a good overview, try the following:

(I'm assuming you have eZ installed)

Login through the admin console

Navigate to Setup > Classes > Content
Click the copy button of the Folder class to create a copy of the class
Edit the new class
Give it a new name
Add some new attributes, try alot of them, to see how they work
Be sure to try out Text Blocks and XML Blocks and URLs, they are commonly used
Think about required and searchable
When you're done, click Ok (or Save)

Create a template for your class
Navigate to Design > Templates and in the lower middle box (Common Templates), click on "node/view/full"
Select the site visitor siteaccess (probably plain) - click Set
Scroll down to the bottom of the block and click the button to create a new override
Name the override your new class name, with _full at the end
This will name your new template new_class_full
Select the View without children default template
Create the template
Click on the little pencil button to edit it
This gives you the initial template, which you can then modify the HTML and have a custom template

Navigate to Content Structure
Scroll down to the Create Here button and create a new object of the class you just created
Edit your object, enter information, click Send for Publishing

Open a new browser window and navigate to the new content - you'll see your information

Once you're comfortable with the content, consider a sitestyle from eZ to learn about designing for eZ. There are some really nice ones under Developer > Contributions. Another alternative would be a new, custom design from scratch. In that case, design your HTML and integrate it into pagelayout.tpl, which is the top of the template hierarchy.

Good luck!

Betsy