Forums / Setup & design / Can't make dynamic content be dynamic

Can't make dynamic content be dynamic

Author Message

Luis Delgado

Friday 11 March 2011 9:07:57 am

Hi. I'm new @EzPublish CMS. It is a very stable and robust App.

Installed 4.4 with ezFlow 2.2 extension with Demo Content. I did this beacuse if it was the only way I could find to make a Frontpage be in the top level.

Because I need it to be working as a News site I'm having trouble making it a Dynamic Frontpage... there is no way I can make it work as its supposed to.

Configured Cronjobs, Configured Blocks (took Dynamic3Items example and edited noew blocks from here) configured Overrides in the blocks (to send content to other block)... But NO LUCK, content just wont flow alone, Manual Updates is disabled, cleared caches... I have done everything...

My last hope was finding if cronjobs were having problems and I found one . I'm not sure if solving this may place my site in the Automatic Dyanmic and free of hands Frontpage place I need it to be but I would really appreciate some help. The below e-mail will be the same if I select LatestContent or LatestObjects (BTW what is the difference between them??):

#################################### DEBUG ####################################

Timing: ()

Script extension/ezflow/cronjobs/ezflowupdate.php starting

 Warning: (eZFlowOperations::updateBlockPoolByBlockID('5e568e0878519da510e55001c1634a6d'))

Found existing block which has no necessary parameters serialized in the db (block needs updating)

 Warning: (PHP: E_WARNING)

Invalid argument supplied for foreach() in /XXXXXXX/extension/ezflow/classes/fetches/ezflowlatestcontent.php on line 68

 Timing: ()

Script extension/ezflow/cronjobs/ezflowupdate.php done

I really need your help to make an automated frontpage so if anybody knows a better way I would apppreciate it.

Cheers

GOOD 4 ALL

Benjamin Lorteau

Monday 14 March 2011 7:45:24 am

Hello Luis,

I'm not familiar with recent versions of eZ Flow. I tested it when in version 1.0 and it were already difficult to achieve anything with.

Still, I can help you on another subject :

"

Installed 4.4 with ezFlow 2.2 extension with Demo Content. I did this beacuse if it was the only way I could find to make a Frontpage be in the top level.

"

To make the top level node another content object, you have to add a content object under it, and then swith node assignement with the top level node. This can be done from the contextual menu (left-clik on an icon in left menu or children list) under "Advanced" -> "Switch with another node"

Node number of the top level doesn't change, but you will have your new content instead. Hope it helps you in the future, this feature is very useful but very little known. Essentially you use it to switch a content object class without losing childrens.

eZ Publish personal project : http://www.aeriesguard.com [fr]

Luis Delgado

Wednesday 16 March 2011 8:15:52 pm

Benjamin!

That is a great solution you gave for solving (another problem of) my Top Node Folder issue I had :)

About the dynamic content issue, it did worked... the debug error is still there but the dynamic blocks did worked as soon as new content was added to the site.

Thanks for the top node solution.

Cheers

GOOD 4 ALL

eZ debug

Timing: Jan 17 2025 21:50:30
Script start
Timing: Jan 17 2025 21:50:30
Module start 'content'
Timing: Jan 17 2025 21:50:31
Module end 'content'
Timing: Jan 17 2025 21:50:32
Script end

Main resources:

Total runtime1.4688 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 587.8281180.8359
Module start 'content' 0.00711.3478 768.6641550.3672
Module end 'content' 1.35480.1139 1,319.0313336.7578
Script end 1.4687  1,655.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2415210.0002
Check MTime0.00150.1005210.0001
Mysql Total
Database connection0.00070.049610.0007
Mysqli_queries1.408495.89181940.0073
Looping result0.00170.11361920.0000
Template Total1.428497.320.7142
Template load0.00160.106220.0008
Template processing1.426997.145620.7134
Template load and register function0.00010.006710.0001
states
state_id_array0.00220.152410.0022
state_identifier_array0.00160.107820.0008
Override
Cache load0.00130.0914260.0001
Sytem overhead
Fetch class attribute can translate value0.00090.062930.0003
Fetch class attribute name0.00090.064650.0002
XML
Image XML parsing0.00140.094430.0005
class_abstraction
Instantiating content class attribute0.00000.000760.0000
General
dbfile0.00240.1634330.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs