eZ Community » Forums » Extensions » eZ Flow » Problem with dynamic block and...
expandshrink

Problem with dynamic block and ManualAddingOfItems

Problem with dynamic block and ManualAddingOfItems

Sunday 29 June 2008 3:44:14 pm - 2 replies

Hi !

I have some troubles with dynamic blocks and ManualAddingOfItems=enable.

First, if I set a block like this :

[block1]
Name=Home - block1
NumberOfValidItems=1
NumberOfArchivedItems=0
ManualAddingOfItems=disabled
FetchClass=Lastcontent_fetcher
FetchFixedParameters[]
FetchFixedParameters[Class]=my_article_class
FetchFixedParameters[Source]=456
FetchFixedParameters[Limit]=1
FetchParameters[]
FetchParameters[Source]=nodeID
# Single / Multiple
FetchParametersSelectionType[]
FetchParametersSelectionType[Source]=multiple
# True / False
FetchParametersIsRequired[]
FetchParametersIsRequired[Source]=true

... All is right, when editing the block (into the backoffice), I can specify the fetch parameters (like Source), and then the last article is fetched by the Lastcontent_fetcher class.

The trouble comes when I set ManualAddingOfItems to enabled (because I want a possible human priorisation on the article displayed), in the backoffice, the "choose source" button is not avalaible, and the "Add item" button has replaced it.

Do you think I badly configured the block or this is something impossible to do with ezFlow ?

Monday 30 June 2008 10:35:34 am

it's norml.

ManualAddingOfItems=enable, manual mode, 'add item' appear

ManualAddingOfItems=disable, auto mode, ''choose source" appear

if you want to human priorisation on the article displayed, in your Lastcontent_fetcher
class order by 'priority', but it doesn't work by the last published.

it's a bug that we can't change the priority when the items ware published. I think the next version will fix it.
If you really want for now, i have a patch
see it :
http://ez.no/developer/forum/exte...ty_in_the_list_valid_of_block_manual

Monday 30 June 2008 12:41:45 pm

Hi Bin !

Thank you for your answer, that this damage is not yet scheduled eZ Flow.

My client does not want to patch, so I could not use your improvement.

Thank you for your invaluable help !

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from