Forums / Extensions / eZ Flow / ezFlow - dynamic block

ezFlow - dynamic block

|
|
Next topic
 »
Author Message

Mircea Sabau

Tuesday 22 July 2008 12:24:28 am

Is posible to fetch "the latest news (max 15 articles)" from a folder recipient and display them as title with link and a short description...?

Bin LIU

Tuesday 22 July 2008 1:25:50 am

Hi,

You can see my example for "ezFlow - dynamic block"

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

and use FetchClass eZFlowLatestObjects by default in ezflow

It's OK.

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

Mircea Sabau

Tuesday 22 July 2008 2:24:26 am

I followed your examples... But,

1. The name of the block is Block: RecipesRandom, not my own name (e.g. TOP NEWS)
2. The block display only the titles of articles. I have to put a link over the titles and, below the titles, I have to display the short description of article...

It is posssible?

Thank you.

Bin LIU

Tuesday 22 July 2008 2:36:32 am

Yes

for show the link and description, it's in your template defined in your block.ini

for my example, it's :
ViewList[]=8_recipes_random

so in my 8_recipes_random.tpl

I have the object $recipe, i can do show eveything of the recipe.

see the complated example

http://ez.no/developer/forum/extensions/ez_flow/example_how_to_do_a_dynamic_block_useful_for_you/(offset)/0#msg171011

I wish it's ok for you

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

*- pike

Monday 23 August 2010 3:47:34 am

link is not working anymore .. is the example still around ?

thanks,

*-pike

---------------
The class eZContentObjectTreeNode does.

Graham Brookins

Wednesday 29 November 2023 1:21:26 am

Hello Everyone,

Here is a translated and active link to this older forum thread.

Cheers,
Graham

”I hope this helps” …