Whats the difference between..

Author Message

K259

Sunday 16 July 2006 7:05:32 am

Base design and standard design..it makes me confuses. Base templates seems like basic standard templates, but also standard templates seems like basic standard templates..can anyone explain the difference?

Kristian Hole

Wednesday 19 July 2006 8:06:04 am

The standard design contains basic functionality. The base templates contains the different functionality for the forum, image gallery and other things that are part of the packages.

They are used together, look at this:
http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/designs/design_combinations

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

K259

Wednesday 19 July 2006 8:14:27 am

Tnx, but why do I also have a sitedesign called forum then? I'm confused of base, standard and forum..

Kristian Hole

Thursday 20 July 2006 7:28:46 am

Tnx, but why do I also have a sitedesign called forum then? I'm confused of base, standard and forum..

The site-design is for you to customize so you do not need to do changes to the standard or base templates. Because of the template fallback mechanism, you can just make a similar structure in the forum design, and that template is used instead.

Example, you want to change design/standard/templates/user/login.tpl.
Then you create the folder strucure desgin/forum/templates/user and add the template user.tpl there. Now this template will be used instead. (You need to clear the cache for eZ publish to find new templates.)

This can also be done for the override-templates.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

James Robertson

Monday 11 September 2006 8:52:58 pm

Ah! I've always wanted to know this to.

So can I safely remove the Base sitedesign?

If not, why isn't it simply rolled into the Standard sitedesign?

Kristian Hole

Tuesday 12 September 2006 9:32:12 am

Now you know!
If you want to, you can remove the base design.

However, i would not recommend it, because you are left with a very basic system. I normally use the article, folder, forum and so on from the packages.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Xavier Dutoit

Tuesday 12 September 2006 1:01:41 pm

Hi,

I've got my own "base" system that replaces the ez base one... and it works fine.

I use svn to monitor if something changes on the base system, eg new feature...

X+

http://www.sydesy.com

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 19:25:38
Script start
Timing: Jan 18 2025 19:25:38
Module start 'layout'
Timing: Jan 18 2025 19:25:38
Module start 'content'
Timing: Jan 18 2025 19:25:40
Module end 'content'
Timing: Jan 18 2025 19:25:40
Script end

Main resources:

Total runtime1.1236 sec
Peak memory usage4,096.0000 KB
Database Queries73

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.3359152.6250
Module start 'layout' 0.00780.0045 741.960939.4453
Module start 'content' 0.01241.1097 781.4063659.7500
Module end 'content' 1.12210.0015 1,441.156316.1641
Script end 1.1236  1,457.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.3958160.0003
Check MTime0.00240.2158160.0002
Mysql Total
Database connection0.00130.113310.0013
Mysqli_queries1.046993.1675730.0143
Looping result0.00130.1167710.0000
Template Total1.078496.020.5392
Template load0.00220.197520.0011
Template processing1.076195.774820.5381
Template load and register function0.00040.036610.0004
states
state_id_array0.00150.129110.0015
state_identifier_array0.00180.158520.0009
Override
Cache load0.00190.1685340.0001
Sytem overhead
Fetch class attribute can translate value0.00140.122740.0003
Fetch class attribute name0.00170.1474100.0002
XML
Image XML parsing0.00240.216540.0006
class_abstraction
Instantiating content class attribute0.00000.0024120.0000
General
dbfile0.00140.1216280.0000
String conversion0.00000.000940.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
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs