Infobox? "Static" content in ezFlow?

Author Message

Olaf Fichtner

Sunday 23 May 2010 8:36:30 am

I am still fairly new to eZP and lots of things are still confusing me, but I think I understood now that ezWebin allows to modify content directly as it should be on a certain page, while ezFlow manages content somewhere in a storage and allows to use that content at several places on a site. (Sorry if this sounds weird, but that's my impression.)

My problem now is that I am trying to display some kind of "static" content in an ezFlow installation, like a contact info (address and phone), that should always be displayed in the right column. But with all the power of ezFlow, I can not find a way to do this.

I tried creating an "infobox" on a frontpage, but without a block to put it into I have no idea how to view that infobox at all - and it seems there is not much documentation regarding this content class. Something like the demo block would be nice, but with customizable content.

It may very well be that I am blind to a somehow obvious solution, forgive me if that's the case. But I really do not know how to put a simple static box/block with text and maybe a link or two into the right column with ezFlow. If this is possible at all, could someone please enlighten me?

Doug Brethower

Monday 24 May 2010 5:55:24 am

Not only possible, very easy, when you have seen it done once or twice.

The ezwebin and ezflow demo contents are great references. Load them up and study how top developers have done it.

In ezwebin, from the online editor toolbar, "Insert custom tag", use the "factbox".

An example is the contact block on right hand side at http://lakedata.net

In ezflow, use the article or documentation class, the home page, and/or the global zone to position your block.

Example that uses the article class and global zone is any subpage of http://ipliance.com displays ACN info on right hand side.

Cheers!

Doug Brethower
Apple Certified Technical Consultant, Southwest, MO USA
http://share.ez.no/directory/companies/lakedata.net

Olaf Fichtner

Monday 24 May 2010 8:52:41 am

Hello Doug,

Thanks for the directions, but I'm afraid I am still stuck. I did look at the demo contents for both ezWebin and ezFlow, and it seems this issue would not be one with ezWebin. Due to the publish/unpublish feature and a few other automatisms I would like to go with ezFlow for this, but the one thing that really gives me headache is that about every block that I could insert into either frontpage or global layout only offers links to content, but not the content itself.

There are lots of list blocks (single/multiple items, manual/dynamic), a gallery with thumbnails linking to images, but even the main story will just show the title and perhaps the cover image for an article, linking to it, but not the article itself. That's why I mentioned the demo block: It seems to be the only block that will directly display content, not just links to it.

So, what kind of block did you use for the ACN info? Sorry, but I am stuck here...

Olaf Fichtner

Monday 24 May 2010 9:15:01 am

I may perhaps have found some kind of workaround: If I put some info into an article summary and list the article in a two-item block, then it shows up like a small text block. Could it be that you did the same?

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 18 2025 11:42:28
Script start
Timing: Jan 18 2025 11:42:28
Module start 'layout'
Timing: Jan 18 2025 11:42:28
Module start 'content'
Timing: Jan 18 2025 11:42:28
Module end 'content'
Timing: Jan 18 2025 11:42:28
Script end

Main resources:

Total runtime0.0168 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.0068 587.9375152.6250
Module start 'layout' 0.00690.0028 740.562539.4453
Module start 'content' 0.00960.0051 780.007893.3359
Module end 'content' 0.01470.0020 873.343834.3047
Script end 0.0167  907.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002716.0861140.0002
Check MTime0.00127.1707140.0001
Mysql Total
Database connection0.00169.716510.0016
Mysqli_queries0.002816.431930.0009
Looping result0.00000.082510.0000
Template Total0.00169.510.0016
Template load0.00084.994910.0008
Template processing0.00074.458410.0007
Override
Cache load0.00063.480810.0006
General
dbfile0.00031.692080.0000
String conversion0.00000.048440.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