No Field collection for an entity, no view results, no Add Field collection link
so if we have no field collection added for an entity there's no way to add a new one with the "Views field-collection items" formatter.

or i'm just doing something wrong?

Comments

g089h515r806’s picture

You could config in the setting of default view.
"Add" link is in the footer of the view, you could choose display footer even views have no content.
I am not sure this is ok.Try and test it.

g089h515r806’s picture

Hi vasike,

Do you have time to mainten this module? If you have time, i could add you to the maintener of this module.
I do not have enough time to mainten it.

vasike’s picture

probably i could test and commit some patches from time to time.
but i don't know what to say for more. as you wish and thanks for asking

second. about the present issue, without result i have no host entity data available so i can't build the add link

g089h515r806’s picture

Yes,This is bug,we need remove the "Add" link from default view, and make it as a Field Format setting.

I have add your account to the maintainer of this project,you could fix it and commit your code by yourself.

vasike’s picture

ok. thank you
actually i didn't notice the reply.

before fixing this, a quick question:
probably you used the field collection argument instead of entity because of the difference of entity ids, am i right?

vasike’s picture

i created the 7 dev branch and i commited the changes as you said at #4.

but, i noticed that using the formatter within a view the Add link won't show. i think this a field collection issue for empty bookings.

i'm thinking about keeping the old view and add the Add links only if there's no result.
What do you think?

vasike’s picture

Status: Active » Fixed

Put back the default display and Use the Add link only if there's no result.
Consider done

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.