Blog layout customization

Author Message

Mik Kali

Thursday 24 September 2009 2:40:33 am

I tried with Google as well as in the Ez Publish site to find "How do I customize Ez Publish blog layout" and found nothing useful. Other similar terms & strings did not give results either.

So, how do I customize Blog ?

It is missing e.g. number of comments for a blog post counter, latest comments in the side bar, latest posts in the sidebar etc. which are very normal and typical for blogs I have seen.

So, how do I do it ?

Mik Kali

Friday 25 September 2009 8:42:52 am

Does anyone have an idea ?

I have found nothing in the documentation.

Interestingly, search in the eZ publish documentation area gave the huge amount of 2 results to word "blog"

I can not publish site like this, there are things that need to be there and currently are not in the blog layout.

Or should I just like that notice, that of course I need to make that and that kind modifications to an override to xxxxxxxx.tpl with which is in in the directory aaa/bbbb/cccc/ddd/eee/fff/

Everybody knows that. Oh, and by the way, then you need to set that and that in the ini -file over there, then you need to know php and.... ????

What ????

Sandra Parente

Friday 25 September 2009 11:13:21 am

You can find some templates here:
/extension/ezwebin/design/ezwebin/templates/parts/blog

Then modify blog.tpl , blog_post.tpl, comment.tpl in folders:
/extension/ezwebin/design/ezwebin/override/templates/full
/extension/ezwebin/design/ezwebin/override/templates/line

Hope this can help you.

Sandra Parente
www.netbliss.it

Mik Kali

Friday 25 September 2009 12:13:17 pm

Yes... I found the files... Some undocumeted codelines (php I suppose ?) with no single comment anywhere.

Any idea what those variables migt stand for etc. etc...

Hmm... I am an 40+ engineer with background of leading technology projects worth of millions of euros, having software engineering experience in my early days and lead e.g. a mobile phone development programs, so I have seen a lot tech stuff, but this seems to be one of the most undocumented and unuserfriendly systems I have bumped into.

Is this really the way you do the customizations ? When do you guys have time to do your daily work ?

This is from Ez Publish presentation:

"The ability to handle the distinction between structuring and displaying content is one of the key features of eZ Publish. The separation of content and design provides the following benefits:

* Content editors and designers can work separately without conflicts"

I did not realize that "can work separately" really means that you NEED to have both of these people on your paylists.

Come on now, surely there is a better way to do these slight modifications? Or is there? Don't tell me there isn't...

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 30 2025 21:33:02
Script start
Timing: Jan 30 2025 21:33:02
Module start 'layout'
Timing: Jan 30 2025 21:33:02
Module start 'content'
Timing: Jan 30 2025 21:33:02
Module end 'content'
Timing: Jan 30 2025 21:33:02
Script end

Main resources:

Total runtime0.0256 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.1328151.2109
Module start 'layout' 0.00660.0045 739.3438220.6875
Module start 'content' 0.01120.0128 960.03131,001.7891
Module end 'content' 0.02400.0016 1,961.820333.9922
Script end 0.0256  1,995.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003011.5584140.0002
Check MTime0.00135.1533140.0001
Mysql Total
Database connection0.00093.520810.0009
Mysqli_queries0.003011.873930.0010
Looping result0.00000.050310.0000
Template Total0.00124.610.0012
Template load0.00103.743310.0010
Template processing0.00020.793010.0002
Override
Cache load0.00072.658110.0007
General
dbfile0.00031.272380.0000
String conversion0.00000.034440.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