Difference between Content Types?

Author Message

Ash Hall

Tuesday 03 February 2009 7:17:52 am

I'm brand new to EZPublish and although I've searched, I can't find any FAQ that describes the process of setting up structure and defines what the various types are.

So...why in the sample Corporate site are some of the homepage buttons Folders whilst some are a 'Frontpage' content type? Whats the different?

Can anyone point me in a logical direction?

Thanks!

Jani Tarvainen

Tuesday 03 February 2009 12:21:30 pm

Hi Ash,

You could start off by reading this: http://ez.no/developer/articles/the_ez_content_model

But basically you have content objects that are made using content classes as "templates". These templates are defined using attributes (such as text block, integer, line of text, etc.).

These settings are found in the administration interface: Setup -> Classes

Hope this helps,

--
http://ezpublish.fi/

Ash Hall

Tuesday 03 February 2009 1:13:21 pm

Thanks mate, will give that a good read.

Trouble is, I've now broken my site by trying to override the pagelayout.tpl template file...

Can you help?
http://ez.no/developer/forum/setup_design/broken_site_after_trying_to_override_pagelayout_tpl

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 19 2025 01:09:29
Script start
Timing: Jan 19 2025 01:09:29
Module start 'layout'
Timing: Jan 19 2025 01:09:29
Module start 'content'
Timing: Jan 19 2025 01:09:30
Module end 'content'
Timing: Jan 19 2025 01:09:30
Script end

Main resources:

Total runtime0.7388 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.1797152.6250
Module start 'layout' 0.00610.0033 741.804739.4453
Module start 'content' 0.00940.7278 781.2500528.9844
Module end 'content' 0.73710.0016 1,310.23448.1563
Script end 0.7387  1,318.3906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4373160.0002
Check MTime0.00130.1753160.0001
Mysql Total
Database connection0.00110.154410.0011
Mysqli_queries0.686592.9305570.0120
Looping result0.00060.0829550.0000
Template Total0.703695.220.3518
Template load0.00230.310220.0011
Template processing0.701394.932820.3507
Template load and register function0.00050.062410.0005
states
state_id_array0.00120.168110.0012
state_identifier_array0.00150.205320.0008
Override
Cache load0.00180.2490190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.100720.0004
Fetch class attribute name0.00140.183440.0003
XML
Image XML parsing0.00250.334920.0012
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00260.3511160.0002
String conversion0.00000.001240.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
3content/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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 6

Time used to render debug report: 0.0001 secs