eZ Community » Forums » Extensions » eZ Flow » Overflow for blocks
expandshrink

Overflow for blocks

Overflow for blocks

Thursday 27 March 2008 11:06:03 am - 5 replies

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?

Wednesday 09 April 2008 7:45:51 pm

Still no hint? Anyone?

Thanks!

Wednesday 09 April 2008 8:45:53 pm

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 =(

Thursday 05 February 2009 4:28:20 am

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

Tuesday 10 February 2009 4:46:06 pm

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.

Tuesday 25 May 2010 9: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

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from