Friday 12 June 2009 9:07:26 pm - 2 replies
I have a "dynamic" block of front-page articles. Its source is a folder object. It works-- at least, it shows the articles in that folder.
But it is not "dynamic." Whenever I add a new article to that folder, the front page does not show the article until I "Edit" the Home [Frontpage] object. I don't need to actually change anything, only click "Edit" and then "Send for publishing."
The eZ Flow documentation indicates that no such editorial action is required for the contents of a dynamic block to update. What am I missing?
Thanks!
Wednesday 24 June 2009 3:07:50 am
The answer may seem too obvious to some, but it was new to me. I had heard about setting up the cron scripts, and even had mine all done, as directed in one of the online documentation pages. But I didn't know I had to also add ezflow into my crontab. I finally figured this out by tracing back from the eZFlowOperations.update() method to find out when and where it should be called.
So I have this in my crontab now, for future reference for anyone else that may need it. I couldn't find any reference to it in the eZ Flow setup guide, and only vague references in the forums and online documentation.
# The path to the eZ Publish directory EZPUBLISH_HOME=/path/to/ezpublish # The location of the PHP command-line interface binary PHPCLI=/usr/bin/php # Other cron jobs omitted... # Instruct cron to run the eZ Flow Update cronjob every minute * * * * * cd $EZPUBLISH_HOME && $PHPCLI runcronjobs.php -q ezflow 2>&1
You must be logged in to post messages in this topic!