Photoblog?

Author Message

Vathanan Kumarathurai

Monday 25 April 2005 1:11:32 am

I want to use ezpublish to run my photoblog (and weblog).

I have done the following so far, see http://vathanan.dk :
- Installed ezpublish.
- Defined siteaccess
- Did minor changes to pagelayout.tpl (plain theme)
- Changed template for full view of the image

Have any of you experience with using ezpublish as weblog or photoblog script? If so, please share your experiences and your code/templates.

And a specific question related to photoblog. What needs to be done in order to enable comments for images?

/vathanan

"Ninety percent of everything is crap"
~Sturgeon's law

Bård Farstad

Monday 25 April 2005 2:09:03 am

Hi Vathanan,

Nice set of photos you got there. If you want some inspiration on how to use eZ publish for a photography site take a look at:
http://www.soulfood.no

To enable comments you need to do the following:
* Add view of comments to the image template
* Add button to create new comment to image template
( both can be copied directly from the article template )
* Add permissions to add comments under images to anonymous users or registered users, whatever you need for your site.

--bård

Documentation: http://ez.no/doc

Vathanan Kumarathurai

Tuesday 26 April 2005 2:00:03 am

Hi Bård,

Thanks. It worked like a charm. :)

I am familiar with http://www.soulfood.no. It is build upon ezpublish 2.x which is not so complex to work with compared to ezpublish 3.x. I have sites running ezpublish 2.x but I though I will give ezpublish 3.x a try. I am sure I am going to love 3.x as much as the 2.x releases when I get to know the system a little bit more.

But anyway thank you for your help.

/vathanan

"Ninety percent of everything is crap"
~Sturgeon's law

Bård Farstad

Tuesday 26 April 2005 2:12:04 am

Vathanan,

good that you got it working!

I hope your transition from 2.2 eZ publish development to 3.x development goes smooth. If you get stuck you know where to ask ;)

--bård

Documentation: http://ez.no/doc

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 05:29:45
Script start
Timing: Jan 31 2025 05:29:45
Module start 'layout'
Timing: Jan 31 2025 05:29:45
Module start 'content'
Timing: Jan 31 2025 05:29:45
Module end 'content'
Timing: Jan 31 2025 05:29:45
Script end

Main resources:

Total runtime0.0376 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.0070 588.0078151.1953
Module start 'layout' 0.00700.0040 739.203136.6016
Module start 'content' 0.01100.0248 775.804794.1094
Module end 'content' 0.03580.0018 869.914133.9922
Script end 0.0376  903.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00307.9851140.0002
Check MTime0.00112.8410140.0001
Mysql Total
Database connection0.00092.280810.0009
Mysqli_queries0.00379.874930.0012
Looping result0.00000.042510.0000
Template Total0.00123.210.0012
Template load0.00092.374010.0009
Template processing0.00030.789610.0003
Override
Cache load0.00061.648410.0006
General
dbfile0.012533.296680.0016
String conversion0.00000.026640.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