connecting the ez publisher 3 with a sql databdase

Author Message

abdalla chakik

Monday 27 June 2005 10:46:15 pm

hi all,i am a new user of ez publisher and first i want to thank the administator ho give us the ez publisher.
i want to learn how can i connect a ez publish site with a database sql that we can find many informations in this sql database like:
name---classe---country.....
and thanks.

Ɓukasz Serwatka

Monday 27 June 2005 11:08:27 pm

Hi,

Welcome to eZ publish Community ;) What exacly you want to do?

If you want get data from database other then eZ publish installed you will have to write your own module with fetch.

http://ez.no/ez_publish/documentation/development/extensions/module/module_tutorial_part_1

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 22:19:42
Script start
Timing: Jan 18 2025 22:19:42
Module start 'layout'
Timing: Jan 18 2025 22:19:42
Module start 'content'
Timing: Jan 18 2025 22:19:43
Module end 'content'
Timing: Jan 18 2025 22:19:43
Script end

Main resources:

Total runtime0.9056 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 589.1719152.6406
Module start 'layout' 0.00420.0030 741.812539.4766
Module start 'content' 0.00730.8966 781.2891524.0156
Module end 'content' 0.90390.0016 1,305.30478.1250
Script end 0.9055  1,313.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3425160.0002
Check MTime0.00130.1430160.0001
Mysql Total
Database connection0.00050.059410.0005
Mysqli_queries0.863395.3387540.0160
Looping result0.00050.0519520.0000
Template Total0.877896.920.4389
Template load0.00200.217720.0010
Template processing0.875896.719320.4379
Template load and register function0.00010.014510.0001
states
state_id_array0.00090.104010.0009
state_identifier_array0.00120.129220.0006
Override
Cache load0.00160.1753130.0001
Sytem overhead
Fetch class attribute can translate value0.00050.060420.0003
Fetch class attribute name0.00130.143530.0004
XML
Image XML parsing0.00070.072820.0003
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00100.1102180.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs