How to randomize articles using ezFlow

Author Message

Fátima Chapri

Sunday 10 May 2009 2:38:13 pm

Hi,

I upgraded my site from ezPublish 3.9.3 to 4.0.3 but didn't install ezflow yet.

I have 2 questions to make:

1. I need to randomize a list of 3 articles and rotate them daily in the home page. The articles are in located in different folders.

Is it possible to do so using ezFlow?

2. How can I add ezFlow to my site?

Bin LIU

Monday 18 May 2009 8:25:26 am

http://ez.no/developer/forum/extensions/ez_flow/example_how_to_do_a_dynamic_block_useful_for_you

tutorial for ezflow list random

tested in ezp4.0 + ezflow1.0

=== Lagardère Active ===

Fetch random
http://projects.ez.no/la_fetch_random
LA Static Cache
http://projects.ez.no/lastaticcache
LA Bookmarks (jquery)
http://projects.ez.no/labookmark
LA Calendar (jquery)
http://projects.ez.no/lacalendar

My site ez
http://lingping.info

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 04:08:06
Script start
Timing: Jan 18 2025 04:08:06
Module start 'layout'
Timing: Jan 18 2025 04:08:06
Module start 'content'
Timing: Jan 18 2025 04:08:06
Module end 'content'
Timing: Jan 18 2025 04:08:06
Script end

Main resources:

Total runtime0.1598 sec
Peak memory usage4,096.0000 KB
Database Queries56

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.1797152.6406
Module start 'layout' 0.00680.0089 741.820339.4766
Module start 'content' 0.01560.1428 781.2969519.7813
Module end 'content' 0.15840.0014 1,301.07818.1328
Script end 0.1598  1,309.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00352.2194160.0002
Check MTime0.00150.9547160.0001
Mysql Total
Database connection0.00110.701310.0011
Mysqli_queries0.109368.3864560.0020
Looping result0.00070.4348540.0000
Template Total0.107567.320.0538
Template load0.00221.382120.0011
Template processing0.105365.875020.0526
Template load and register function0.00040.224610.0004
states
state_id_array0.00181.122810.0018
state_identifier_array0.00110.685120.0005
Override
Cache load0.00191.1650140.0001
Sytem overhead
Fetch class attribute can translate value0.00100.597420.0005
Fetch class attribute name0.00160.973530.0005
XML
Image XML parsing0.00070.448520.0004
class_abstraction
Instantiating content class attribute0.00000.006930.0000
General
dbfile0.00100.6066150.0001
String conversion0.00000.008240.0000
Note: percentages do not add up to 100% because some accumulators overlap

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

Time used to render debug report: 0.0001 secs