Tutorials & articles written by David Linnard

Creating Custom Admin Modules & Views

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.

 

Fetching User Objects with PHP - part 2

At the end of this tutorial you should be comfortable with exporting multiple users from PHP scripts into a external file using a cronjob. You should also be comfortable with filtering fetch statements in PHP.

Fetching User Objects with PHP - part 1

At the end of this tutorial you should be comfortable with exporting user information from PHP scripts.

Creating eZ Publish Objects in PHP

This tutorial will show you how to create eZ Publish objects using PHP to allow you to dynamically create or import content from elsewhere. After reading this article you should be able to create objects for any situation including those with XML fields, image or file fields and object relations.

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 00:03:03
Script start
Timing: Jan 18 2025 00:03:03
Module start 'layout'
Timing: Jan 18 2025 00:03:03
Module start 'community'
Timing: Jan 18 2025 00:03:03
Module end 'community'
Timing: Jan 18 2025 00:03:03
Script end

Main resources:

Total runtime0.1278 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.6875152.6094
Module start 'layout' 0.00510.0029 742.296931.6719
Module start 'community' 0.00800.1189 773.9688645.8359
Module end 'community' 0.12680.0009 1,419.804714.6406
Script end 0.1277  1,434.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00282.1544140.0002
Check MTime0.00120.9440140.0001
Mysql Total
Database connection0.00070.538410.0007
Mysqli_queries0.091471.5335600.0015
Looping result0.00080.6427570.0000
Template Total0.107484.020.0537
Template load0.00131.002420.0006
Template processing0.106183.023020.0530
Template load and register function0.00010.078410.0001
Override
Cache load0.00100.7572120.0001
states
state_id_array0.00372.878840.0009
state_identifier_array0.00161.267240.0004
Sytem overhead
Fetch class attribute name0.00070.561540.0002
class_abstraction
Instantiating content class attribute0.00000.006340.0000
General
dbfile0.00010.116870.0000
String conversion0.00000.007830.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1community/articles.tpl<No override>extension/community_design/design/suncana/templates/community/articles.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/separator.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltags/separator.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs