This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Extensions » eZ Flow » ezFlow - dynamic block
expandshrink

ezFlow - dynamic block

ezFlow - dynamic block

Tuesday 22 July 2008 9:24:28 am - 4 replies

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...?

Tuesday 22 July 2008 10:25:50 am

Hi,

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

http://ez.no/developer/forum/exte...namic_block_useful_for_you#msg169991

and use FetchClass eZFlowLatestObjects by default in ezflow

It's OK.

Tuesday 22 July 2008 11: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.

Tuesday 22 July 2008 11: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/exte..._useful_for_you/(offset)/0#msg171011

I wish it's ok for you

Monday 23 August 2010 12:47:34 pm

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

thanks,

*-pike

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from