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

eZ debug

Timing: Jan 18 2025 16:27:07
Script start
Timing: Jan 18 2025 16:27:07
Module start 'content'
Timing: Jan 18 2025 16:27:08
Module end 'content'
Timing: Jan 18 2025 16:27:08
Script end

Main resources:

Total runtime1.0330 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.8672180.8281
Module start 'content' 0.00560.8831 769.6953506.6797
Module end 'content' 0.88870.1442 1,276.3750333.0547
Script end 1.0330  1,609.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3751210.0002
Check MTime0.00150.1441210.0001
Mysql Total
Database connection0.00060.062210.0006
Mysqli_queries0.962593.17431910.0050
Looping result0.00180.17451890.0000
Template Total1.003097.120.5015
Template load0.00210.198820.0010
Template processing1.000996.887020.5004
Template load and register function0.00020.023010.0002
states
state_id_array0.00200.191710.0020
state_identifier_array0.00110.106220.0005
Override
Cache load0.00180.1753440.0000
Sytem overhead
Fetch class attribute can translate value0.00220.215630.0007
Fetch class attribute name0.00130.122830.0004
XML
Image XML parsing0.00100.094030.0003
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00160.1545270.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs