Forums / Setup & design / HELP! How to create template

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/

eZ debug

Timing: Jan 19 2025 20:12:13
Script start
Timing: Jan 19 2025 20:12:13
Module start 'content'
Timing: Jan 19 2025 20:12:15
Module end 'content'
Timing: Jan 19 2025 20:12:15
Script end

Main resources:

Total runtime1.4595 sec
Peak memory usage4,096.0000 KB
Database Queries204

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.9531180.8359
Module start 'content' 0.00571.2752 769.7891643.5781
Module end 'content' 1.28100.1784 1,413.3672337.0938
Script end 1.4594  1,750.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2674210.0002
Check MTime0.00140.0988210.0001
Mysql Total
Database connection0.00070.045410.0007
Mysqli_queries1.378894.47622040.0068
Looping result0.00200.13852020.0000
Template Total1.423397.520.7116
Template load0.00220.153320.0011
Template processing1.421097.364220.7105
Template load and register function0.00010.009910.0001
states
state_id_array0.00230.157910.0023
state_identifier_array0.00190.131120.0010
Override
Cache load0.00210.1430420.0000
Sytem overhead
Fetch class attribute can translate value0.00150.100950.0003
Fetch class attribute name0.00110.078770.0002
XML
Image XML parsing0.00170.114550.0003
class_abstraction
Instantiating content class attribute0.00000.001070.0000
General
dbfile0.00650.4488350.0002
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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