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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 18:23:21
Script start
Timing: Jan 18 2025 18:23:21
Module start 'layout'
Timing: Jan 18 2025 18:23:21
Module start 'content'
Timing: Jan 18 2025 18:23:21
Module end 'content'
Timing: Jan 18 2025 18:23:21
Script end

Main resources:

Total runtime0.0157 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.0156152.6250
Module start 'layout' 0.00560.0027 740.640639.4453
Module start 'content' 0.00830.0054 780.085989.3359
Module end 'content' 0.01370.0019 869.421934.3047
Script end 0.0157  903.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002314.8080140.0002
Check MTime0.00106.5393140.0001
Mysql Total
Database connection0.00127.782810.0012
Mysqli_queries0.002515.620330.0008
Looping result0.00000.113910.0000
Template Total0.001610.110.0016
Template load0.00095.584310.0009
Template processing0.00074.495710.0007
Override
Cache load0.00063.999210.0006
General
dbfile0.00031.699080.0000
String conversion0.00000.057740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs