Forums / Extensions / eZ Flow / Problem with dynamic block and ManualAddingOfItems

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Problem with dynamic block and ManualAddingOfItems

Author Message

Sébastien Antoniotti

Sunday 29 June 2008 6:44:14 am

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 ?

eZ Publish Freelance
web : http://www.webaxis.fr

Bin LIU

Monday 30 June 2008 1: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/extensions/ez_flow/change_the_priority_in_the_list_valid_of_block_manual

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

Sébastien Antoniotti

Monday 30 June 2008 3:41:45 am

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 !

eZ Publish Freelance
web : http://www.webaxis.fr