Overflow for blocks

Author Message

Radek Kuchta

Thursday 27 March 2008 3:06:03 am

Hi,

Can anyone explain how the overflow rules work for the blocks?
I have tested these settings and I can't figure out how it works.

For example:
I have two manual blocks (block_1 and block_2).

First block (block_1) has 3 visible items, 3 items in the queue and 3 items in the history. The overflow drop-down list has set bloc_2.

Second block (block_2) has one item online (from 3 avaiable) and no items in the queue and history.

After runing the cronjobs script nothing happens...
How to set the overflow rules, what is wrong?

http://ez.no/certification/verify/272582

Piotrek Karaś

Wednesday 09 April 2008 10:45:51 am

Still no hint? Anyone?

Thanks!

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Sébastien Antoniotti

Wednesday 09 April 2008 11:45:53 am

Hi,

I also encouter some problems with blocks : Although the flow cronjob is runned every minutes, items are still the same, they don't rotate.

Yet I have replaced my "extension/ezflow/classes/" folder by the last SVN revision (in trunk) because I have found this : http://issues.ez.no/IssueView.php?Id=12681.

But the problem is still here : items rotation is only made if I manually clear the cache =(

eZ Publish Freelance
web : http://www.webaxis.fr

Gary Teh

Wednesday 04 February 2009 7:28:20 pm

Just asking has the issue been resolved yet? Or is it still existing in the current version. Would like to know the status before developing any extensions using this property.

Cheers
Gary from http://Name1price.com

http://name1price.com : Get a Cool website for yourself and also learn how to manage it. It is easy. Use it to get more customers for your business.

Jon Staines

Tuesday 10 February 2009 7:46:06 am

Is this for blocks defined in the global zone or blocks in the layout on a given page?

I've had a quick look at the file mentioned in the patch and done some testing and so far have noticed:

1. The global layout is its own node, so clearing the cache of that won't clear the cache of a page just using it. For example, the Global Layout is node id 60 in mine, if I run the ezflow cronjob it cycles through and one of the nodes that it tries to clear the cache on is node 60, but it doesn't try to do anything with the pages that just use the global layout.

2. To check what I saw against a page with an override layout (Conference in this case) I added some more news stories to the Top Stories block (3 item manual) and set it to 30 second shuffle. Ran the ezflow cron script, nothing happened. Cleared the cache, nothing happened. I had a look at the ezm_block table in the db and saw that the Conference node wasn't listed in there. If I removed the Top Stories block and recreated it then the ezm_block table did have an entry for it. Running the script and clearing the cache did now make changes happen.

3. Running:

php bin/php/ezcache.php --clear-id=template-block

would make changes occur whereas

php bin/php/ezcache.php --clear-id=content

doesn't (I also tried template with no luck). What does the eZContentCache::cleanup call in the script do?

Sorry for the long post, and if anyone could verify my test it would help as there is good chance that I've been changing things on my install while trying to learn how eZ Flow works.

Romeo Antony

Tuesday 25 May 2010 12:55:39 am

How do I rotate items.? I have set overflow into 1 min.But I didin't run any crone job.How can I run a crone job to rotate images.I think it is a little tricky way.can anyone help me .I am not familiar with crone job.

Thanks in advance Romeo Antony

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 04:31:47
Script start
Timing: Jan 18 2025 04:31:47
Module start 'layout'
Timing: Jan 18 2025 04:31:47
Module start 'content'
Timing: Jan 18 2025 04:31:47
Module end 'content'
Timing: Jan 18 2025 04:31:47
Script end

Main resources:

Total runtime0.2426 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 587.9375152.6250
Module start 'layout' 0.00860.0066 740.562539.4453
Module start 'content' 0.01520.2255 780.0078752.6563
Module end 'content' 0.24070.0019 1,532.664116.1641
Script end 0.2426  1,548.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00351.4322160.0002
Check MTime0.00150.6006160.0001
Mysql Total
Database connection0.00060.259210.0006
Mysqli_queries0.158565.3385760.0021
Looping result0.00150.6321740.0000
Template Total0.189878.220.0949
Template load0.00220.924720.0011
Template processing0.187677.301120.0938
Template load and register function0.00020.066410.0002
states
state_id_array0.00120.501210.0012
state_identifier_array0.00130.528120.0006
Override
Cache load0.00190.7910440.0000
Sytem overhead
Fetch class attribute can translate value0.00090.370960.0002
Fetch class attribute name0.00190.7682120.0002
XML
Image XML parsing0.00361.472360.0006
class_abstraction
Instantiating content class attribute0.00000.0085120.0000
General
dbfile0.00200.8148460.0000
String conversion0.00000.005940.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 32
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs