Forums / Extensions / eZ Flow / Need help with block "Latest content"

Need help with block "Latest content"

Author Message

Frédéric Méance

Wednesday 06 July 2011 4:59:36 am

Hello,

I've installed EZPublish 4.4 with EzFlow content.

Via the admin interface, i've tried to create a "latest content" block with a folder that contains articles (visible and published"). But nothing happens ! In the frontend, i do not see my block and in the backend, none articles are in the block.

I've run the "ezflow" cronjobs but always the same result : nothing !

Can someone help me ?

 

Thanks

Fred

Frédéric Méance

Thursday 07 July 2011 3:06:43 am

In fact, I have the same problem with the blocks "keywords" and "3 items (dynamic)".
When I run the cronjob I have this error:
[code] Warning: Invalid argument Supplied for foreach () in xxxxxx\extension\ezflow\ classes\fetches\ezflowlatestcontent.php on line 68 [/code]
Error due to the fact that eZContentObjectTreeNode: subTreeByNodeID returns nothing !
FYI, I installed ezflow 2.3 in case the problem would come to version 2.2
Cdt
Fred

Frédéric Méance

Friday 08 July 2011 2:00:05 am

Hello everyone,
And now, it works. In fact, I made several mistakes. Here is the list of my mistakes :
- In the block type Latest_Content, you had to set the class of objects displayed (this is not an optional parameter !)
- The block type Latest_Content must be published before the content that is uploaded.Example, if you delete the contents of the block Latest_Content and restart cronjob ezflow (assuming the block scans a Folder containing items), well it will happen nothing.
- FetchFixedParameters [Limit]. The query executed makes an ORDER BY ASC on the publication date (from oldest to newest) => if the limit is lower than the number of items, the latest will not be displayed ...
Regards
Fred