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.