Forums / Setup & design / How to build a HTML SITE with EZ?

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.

eZ debug

Timing: Jan 18 2025 11:03:29
Script start
Timing: Jan 18 2025 11:03:29
Module start 'content'
Timing: Jan 18 2025 11:03:29
Module end 'content'
Timing: Jan 18 2025 11:03:29
Script end

Main resources:

Total runtime0.2171 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0089 587.7344180.8281
Module start 'content' 0.00890.0053 768.562593.8828
Module end 'content' 0.01420.2028 862.4453523.0781
Script end 0.2170  1,385.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00391.7860200.0002
Check MTime0.00160.7165200.0001
Mysql Total
Database connection0.00130.621010.0013
Mysqli_queries0.144266.41271410.0010
Looping result0.00160.74431390.0000
Template Total0.202393.210.2023
Template load0.00090.396210.0009
Template processing0.201592.809610.2015
Override
Cache load0.00060.262610.0006
Sytem overhead
Fetch class attribute can translate value0.00090.417410.0009
XML
Image XML parsing0.00030.125310.0003
General
dbfile0.01667.6334200.0008
String conversion0.00000.003830.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs