HELP! How to create template

Author Message

Jesper Jørgensen

Monday 23 August 2004 12:57:42 am

Ok! Here is the problem...

A friend of mine is going to create a non-profit e-newspaper. Then we need å cool and nice template. At http://www.herresalongen.no/ they have a nice layout and we would like something simular.

Becouse i have lack of time i asking you to help me. I have searched thru the ez web but i cant find out how to create the templates. Is there a tool i can use to create templates or what?

Please comment. I eager to start with this project...

Jesper Jørgensen

Lazaro Ferreira

Monday 23 August 2004 4:36:44 am

Hi,

I recomend you reading some EZP tutorial, on how getting started with EZP, and how to customize your pagelayout template (that is the main template) you will find that information on ez.no/ez_publish/documentation area of the site

It is a good ideia spending some time on this, to understand the basics before moving on

Lazaro Ferreira

Lazaro
http://www.mzbusiness.com

Jesper Jørgensen

Monday 23 August 2004 4:52:16 am

I have searched all over the ez web without finding out how to make my own template. Sombody help me...

Best regards

Jesper Jørgensen

Tim Dickinson

Monday 23 August 2004 6:13:08 am

For the basic layout of the site you would need to create a sitedesign in the design directory and create a template file called pagelayout.tpl
(I recommend copying the one from the standard directory and starting from there)

Check this page of the docs under the section 'custom design'
http://ez.no/ez_publish/documentation/toc/(from)/29264

Then to make the content look more pretty within the basic layout, you will need to do some override templates (which you can find info on in the same docs.

Hope that helps,

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

kracker (the)

Monday 23 August 2004 6:15:20 am

Jesper,

You would do well to read the tombs of documentation located at:
http://ez.no/ez_publish/documentation

Specifically you should spend some time trying to mimic these examples:
[Building an eZ publish site]
http://ez.no/ez_publish/documentation/toc/(from)/36647

They give you the background to know exactly how to make your own templates.

The information is there. The burden rests on you to do the required homework.

Regards
\\kracker
http://ezpub.co.uk/

cake - rock 'n' roll lifestyle

Member since: 2001.07.13 || http://ezpedia.se7enx.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 19 2025 15:21:27
Script start
Timing: Jan 19 2025 15:21:27
Module start 'layout'
Timing: Jan 19 2025 15:21:27
Module start 'content'
Timing: Jan 19 2025 15:21:28
Module end 'content'
Timing: Jan 19 2025 15:21:28
Script end

Main resources:

Total runtime0.6475 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 589.1563152.6250
Module start 'layout' 0.00420.0026 741.781339.4453
Module start 'content' 0.00680.6394 781.2266638.5000
Module end 'content' 0.64620.0012 1,419.726612.1641
Script end 0.6474  1,431.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.4395160.0002
Check MTime0.00120.1875160.0001
Mysql Total
Database connection0.00070.100510.0007
Mysqli_queries0.601592.9048670.0090
Looping result0.00040.0680650.0000
Template Total0.623296.320.3116
Template load0.00170.264620.0009
Template processing0.621595.987520.3107
Template load and register function0.00010.013310.0001
states
state_id_array0.00070.110410.0007
state_identifier_array0.00050.078320.0003
Override
Cache load0.00150.2310420.0000
Sytem overhead
Fetch class attribute can translate value0.00040.062240.0001
Fetch class attribute name0.00070.109270.0001
XML
Image XML parsing0.00230.348140.0006
class_abstraction
Instantiating content class attribute0.00000.001670.0000
General
dbfile0.00270.4214240.0001
String conversion0.00000.001540.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs