Forums / Setup & design / Seeking Help to learn templates for my site

Seeking Help to learn templates for my site

Author Message

Chirag P

Saturday 29 March 2008 6:51:47 pm

Hello,

I am myself an ASP .NET developer but I like ez Publish System Design/Architecture and want to use it for setting up one website. I have understood ez Publish to some extent and trying to learn it more to leverage its templating system at best.
I have already installed ezpublish 4.0 with Apache 2.2 and MySQL 5.1 on my windows xp.
It works fine. I could try some static stuff.

SO, I request somebody to walk me through setting up this site in ez publish using templating.

Here are the requirements.

I need to create a business listing web site.
1)The customer will create a normal user account add his business. He will list his business under given business services like Accountants, Web Design, Beauty, Healthcare etc...

2)So, apart from the selection of services, business will have normal data like business title, description, experience, achievements, location, logo, photographs etc...

3)Ok. Now the main functionality for the end user. He can see a list of services in the left pane of the web site. On click of any service, he will see a list of businesses providing that service(we need paging here). Once clicked on one of the business link, the user will see the business details page which will show complete business public information.

So, what I don't understand is approaching this with templates. What is good way to make template and learn template syntax? How should model my sections? Here I'm dealing with 2 mains data i.e. services and businesses.

So, any ez Publish geek? Could you please help me? I'm just trying out my hands on ez Publish but I'm ready to pay(consider like tution fees from a student!) for this if you are giving me good education on this.

Thanks!

André R.

Sunday 30 March 2008 3:59:56 pm

I highly recommend walking true this tutorial:
http://ez.no/ezpublish/documentation/building_an_ez_publish_site

And when you are done, look on the links in the comments!

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

eZ debug

Timing: Jan 19 2025 12:33:23
Script start
Timing: Jan 19 2025 12:33:23
Module start 'content'
Timing: Jan 19 2025 12:33:23
Module end 'content'
Timing: Jan 19 2025 12:33:24
Script end

Main resources:

Total runtime0.1661 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.0074 589.0859180.8125
Module start 'content' 0.00750.0065 769.898493.9297
Module end 'content' 0.01400.1521 863.8281523.8750
Script end 0.1660  1,387.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00372.2257200.0002
Check MTime0.00160.9387200.0001
Mysql Total
Database connection0.00181.073510.0018
Mysqli_queries0.117670.80801410.0008
Looping result0.00140.82271390.0000
Template Total0.151791.310.1517
Template load0.00090.520810.0009
Template processing0.150890.803910.1508
Override
Cache load0.00070.396810.0007
Sytem overhead
Fetch class attribute can translate value0.00150.893510.0015
XML
Image XML parsing0.00020.130610.0002
General
dbfile0.00482.8830200.0002
String conversion0.00000.004930.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.0001 secs