Monday 18 April 2011 2:42:35 pm - 4 replies

» Read full tutorial

Introduction

In this tutorial we will explore how to add custom modules and views to the CMS. By doing this you can extend the functionality of the back office to use your custom PHP to carry out various tasks. Once this tutorial is complete you should be comfortable with creating modules and views for any siteaccess with the CMS and be able to appreciate situations when creating custom modules and views would be suitable.

 
Author Message

Lars Eirik R

Tuesday 19 April 2011 11:45:36 pm

Thanks for this great tutorial. It will help many newcomers to ez publish in creating their own modules and views and understand the ezpublish logic behind these concepts.

Just wanted to inform you that i believe you have the incorrect syntax when describing unordered_parameters. You have indicated they should be /key/value, whereas the correct syntax is (key)/value i believe.

Keep up the good work!

Nicolas Pastorino

Wednesday 20 April 2011 1:04:38 am

Thanks for the heads-up Lars Eirik, i will be notifying the author in a second about this.

If you are willing to contribute other beginner-level tutorials like this, send them in ! We NEED more of those to expand our community and welcome new members.

Cheers and god pÄske !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Nicolas Pastorino

Wednesday 20 April 2011 2:31:50 am

"

Just wanted to inform you that i believe you have the incorrect syntax when describing unordered_parameters. You have indicated they should be /key/value, whereas the correct syntax is (key)/value i believe.

"

And fixed !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Gaetano Giunta

Tuesday 26 April 2011 4:39:22 am

Also a good link: the reference on modules on ezpedia: http://ezpedia.org/ez/module

Principal Consultant International Business
Member of the Community Project Board

You must be logged in to post messages in this topic!

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 17 2025 21:22:01
Script start
Timing: Jan 17 2025 21:22:01
Module start 'layout'
Timing: Jan 17 2025 21:22:01
Module start 'content'
Timing: Jan 17 2025 21:22:01
Module end 'content'
Timing: Jan 17 2025 21:22:01
Script end

Main resources:

Total runtime0.0153 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 596.3516152.1250
Module start 'layout' 0.00500.0026 748.476639.4766
Module start 'content' 0.00760.0055 787.953199.6406
Module end 'content' 0.01310.0022 887.593838.3672
Script end 0.0153  925.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002516.2613140.0002
Check MTime0.00116.8533140.0001
Mysql Total
Database connection0.00085.050610.0008
Mysqli_queries0.002214.059330.0007
Looping result0.00000.071510.0000
Template Total0.001711.010.0017
Template load0.00095.990810.0009
Template processing0.00084.999310.0008
Override
Cache load0.00063.826010.0006
General
dbfile0.00031.757680.0000
String conversion0.00000.051340.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