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

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 31 2025 08:03:48
Script start
Timing: Jan 31 2025 08:03:48
Module start 'layout'
Timing: Jan 31 2025 08:03:48
Module start 'content'
Timing: Jan 31 2025 08:03:48
Module end 'content'
Timing: Jan 31 2025 08:03:48
Script end

Main resources:

Total runtime0.0134 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.2656151.2266
Module start 'layout' 0.00480.0023 739.492236.6797
Module start 'content' 0.00710.0047 776.171990.1875
Module end 'content' 0.01190.0015 866.359433.9922
Script end 0.0134  900.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002317.3197140.0002
Check MTime0.00118.2284140.0001
Mysql Total
Database connection0.00064.832310.0006
Mysqli_queries0.002317.183030.0008
Looping result0.00000.104710.0000
Template Total0.00128.710.0012
Template load0.00096.879210.0009
Template processing0.00021.727410.0002
Override
Cache load0.00064.505710.0006
General
dbfile0.00128.853380.0001
String conversion0.00000.060440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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