How to build a HTML SITE with EZ?

Author Message

zfirst zlast

Friday 25 April 2008 12:51:28 am

I just wannar a pure HTML site ( only three pages ) , so how to do it with ez? I'm lost in it.

Maybe we could login to the admin area, then create some <i>objects</i> under <i>content structure</i>, but i'm puzzled with the css.

U know, in every page, there are lots of CSS tags for special display. Some like "div", "p", "span", if i use object for every page, ez will use his own tags, then my styles are missing. E.G. ez will print the page like this:

<div class="content-view-full">
<div class="class-folder">
<div class="attribute-header">
</div>
</div>
</div>

And i could not even know what style or tag will ez add into the page, so how could i do with it? e.g. i just want to create two divs, one is in the left, and the other is in the right ? What can i do? Anybody can help me?

Bruce Morrison

Friday 25 April 2008 1:19:44 am

Hi Z

eZ publish (and any CMS) is overkill for a three page site. You'll spend more time learning any CMS than you will doing it by hand.

I'd suggest you'd be better off with something like CushyCMS http://www.cushycms.com/

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

zfirst zlast

Friday 25 April 2008 2:24:32 am

Hi Bruce,

Thank you for your suggestion.
Actually, this is a 20 pages site, and it works well in currnt version, but unfortunately, it needs to be re-built with ez ( I think client loves this cms very much ).

I think the most difficult issue is how to represent the page style for different <i>objects</i>. not <i><b>classes</b></i>, because currently, i have changed the codes in pagelayout.php as following:
...................
<div class="mainContentArea">
{$module_result.content}
</div>
..................

It works well in index.php, but if we click the link "site map", and go to "http://www.<i>domain</i>.com/index.php/content/view/sitemap/2", this style may be not suitable.

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 16:05:43
Script start
Timing: Jan 18 2025 16:05:43
Module start 'layout'
Timing: Jan 18 2025 16:05:43
Module start 'content'
Timing: Jan 18 2025 16:05:44
Module end 'content'
Timing: Jan 18 2025 16:05:44
Script end

Main resources:

Total runtime1.2724 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.0075 589.3672152.6250
Module start 'layout' 0.00750.0031 741.992239.4453
Module start 'content' 0.01051.2606 781.4375535.4141
Module end 'content' 1.27120.0012 1,316.851612.4688
Script end 1.2724  1,329.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3045160.0002
Check MTime0.00170.1351160.0001
Mysql Total
Database connection0.00080.065510.0008
Mysqli_queries1.217595.6857570.0214
Looping result0.00060.0467550.0000
Template Total1.230096.720.6150
Template load0.00590.465120.0030
Template processing1.224196.200020.6120
Template load and register function0.00020.014210.0002
states
state_id_array0.00230.180310.0023
state_identifier_array0.00250.194520.0012
Override
Cache load0.00530.4145310.0002
Sytem overhead
Fetch class attribute can translate value0.00060.047920.0003
Fetch class attribute name0.00120.090640.0003
XML
Image XML parsing0.00070.051620.0003
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00080.0643160.0001
String conversion0.00000.000740.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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs