ezPublish 4.1.3 + EzFlow full view article block.

Author Message

Will Hattingh

Tuesday 25 August 2009 1:50:28 pm

I have a rather odd thing that I'm trying to do which is very frustrating. I have some external vendor that I pull data from using an iframe. I use literal text within an article to display the iframe the problem however is that it is bigger than the generic ezflow site layout. I'm still playing around with just the default ezflow site design as to learn the entire content. My question is this. Lets say I create an article called: iFrame Data and paste the iframe content in there. The iframe displays but is cut off on the right hand side, I assume due to the pagelayout.tpl for the demo content.

What I'm trying to do is display a main menu item, the same as what is made through the frontpage creation. And then change the layout to be the full width of the layout, ex: no blocks on the right. And use that to display the entire article.

The problem that I have run into thus far is that I can make a frontpage but I will still have to click an additional link to show the full content, which is something I cannot have.

I then tried to create a folder instead which does show the content immediately but I cannot seem to push the layout to full.

Ideally I would like to have the data for the iframe in an article. With the ability to create a frontpage that will write the contents of that particular article directly into the block with a full layout instead of using the mainstory1 block.

I assume that I will need to create a new block type that will pull the content from the selected article and display it. The problem is that I have no idea how to accomplish this. I have not posted any code as it is still the original code from ezflow design with only a modification to display html within literal text tag.

Any help or tutorial on doing this would be really helpful, if I need to make myself more clear please let me know too.

Thanks.

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 06:58:13
Script start
Timing: Jan 31 2025 06:58:13
Module start 'layout'
Timing: Jan 31 2025 06:58:13
Module start 'content'
Timing: Jan 31 2025 06:58:13
Module end 'content'
Timing: Jan 31 2025 06:58:13
Script end

Main resources:

Total runtime0.0171 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.0059 588.2578151.2266
Module start 'layout' 0.00600.0028 739.484436.6797
Module start 'content' 0.00880.0069 776.164190.0625
Module end 'content' 0.01570.0014 866.226629.9922
Script end 0.0171  896.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.3400140.0002
Check MTime0.00126.7200140.0001
Mysql Total
Database connection0.00074.178610.0007
Mysqli_queries0.002916.913330.0010
Looping result0.00000.087610.0000
Template Total0.00116.310.0011
Template load0.00095.029910.0009
Template processing0.00021.260310.0002
Override
Cache load0.00063.581910.0006
General
dbfile0.002615.046680.0003
String conversion0.00000.062640.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