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
Comment #1
g089h515r806 commentedYou 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.
Comment #2
g089h515r806 commentedHi 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.
Comment #3
vasikeprobably 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
Comment #4
g089h515r806 commentedYes,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.
Comment #5
vasikeok. 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?
Comment #6
vasikei 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?
Comment #7
vasikePut back the default display and Use the Add link only if there's no result.
Consider done