Forums / Setup & design / Blog layout customization

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...

eZ debug

Timing: Jan 18 2025 05:21:40
Script start
Timing: Jan 18 2025 05:21:40
Module start 'content'
Timing: Jan 18 2025 05:21:41
Module end 'content'
Timing: Jan 18 2025 05:21:41
Script end

Main resources:

Total runtime0.8247 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.0063 588.8281180.8359
Module start 'content' 0.00630.7038 769.6641553.2578
Module end 'content' 0.71010.1145 1,322.9219336.7500
Script end 0.8246  1,659.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4559210.0002
Check MTime0.00150.1787210.0001
Mysql Total
Database connection0.00060.075710.0006
Mysqli_queries0.757391.82761970.0038
Looping result0.00180.21731950.0000
Template Total0.803897.520.4019
Template load0.00190.232520.0010
Template processing0.801997.229720.4009
Template load and register function0.00010.015610.0001
states
state_id_array0.00030.030510.0003
state_identifier_array0.00060.078320.0003
Override
Cache load0.00160.1931330.0000
Sytem overhead
Fetch class attribute can translate value0.00170.205030.0006
Fetch class attribute name0.00130.160350.0003
XML
Image XML parsing0.00080.102030.0003
class_abstraction
Instantiating content class attribute0.00000.001050.0000
General
dbfile0.00260.3100270.0001
String conversion0.00000.001030.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs