Forums / Developer / Photoblog?

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

eZ debug

Timing: Jan 18 2025 18:20:54
Script start
Timing: Jan 18 2025 18:20:54
Module start 'content'
Timing: Jan 18 2025 18:20:55
Module end 'content'
Timing: Jan 18 2025 18:20:55
Script end

Main resources:

Total runtime1.2085 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 591.6250180.8516
Module start 'content' 0.00861.0279 772.4766562.1250
Module end 'content' 1.03650.1719 1,334.6016336.7734
Script end 1.2085  1,671.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3281210.0002
Check MTime0.00150.1237210.0001
Mysql Total
Database connection0.00070.059410.0007
Mysqli_queries1.130693.55381970.0057
Looping result0.00230.18911950.0000
Template Total1.171696.920.5858
Template load0.00210.174820.0011
Template processing1.169596.768320.5847
Template load and register function0.00010.009610.0001
states
state_id_array0.00210.175810.0021
state_identifier_array0.00160.129320.0008
Override
Cache load0.00180.1471370.0000
Sytem overhead
Fetch class attribute can translate value0.00100.079130.0003
Fetch class attribute name0.00110.092260.0002
XML
Image XML parsing0.00120.102930.0004
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00400.3318340.0001
String conversion0.00000.000530.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs