Originally posted at #1830518: Views integration (use Views' render pipeline to re-render edited fields in Views) but nod_ asked me to move it to a different issue
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screen Shot 2013-04-05 at 12.46.12.png | 14.27 KB | wim leers |
Originally posted at #1830518: Views integration (use Views' render pipeline to re-render edited fields in Views) but nod_ asked me to move it to a different issue
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screen Shot 2013-04-05 at 12.46.12.png | 14.27 KB | wim leers |
Comments
Comment #1
wim leersThis sounds like a feature request.
AFAICT this is provided by the Entity API module.
But what's not clear to me, is what it is exactly that you expect. Do you expect to be able to edit any field of an entity that is rendered as a view field?
Comment #2
wundo commented> But what's not clear to me, is what it is exactly that you expect. Do you expect to be able to edit any field of an entity that is rendered as a view field?
Exactly, as I would do at node/ (or the equivalent to your favorite entity).
Mainly because from the user perspective doesn't matter if I'm on the entity view page, or if I'm viewing the entity elsewhere in the site.
Comment #3
wim leersWe implement
hook_preprocess_field()andhook_preprocess_node(), so in theory, it should work just fine already. Where the theory differs from practice, that's what we still have to figure out :)Comment #4
wim leersSo, by now it's become pretty clear that Edit + Views = nightmare, see #1830518-15: Views integration (use Views' render pipeline to re-render edited fields in Views) for details.
However… a Views using the "Rendered Entity" format should work stellarly, because it's in fact the exact same result and render pipeline the regular entity rendering pipeline.
So, I configured a View to use this:

And indeed, everything worked stellarly.
I suspect changes in alpha 7 or 8 has fixed any bugs that caused problems with this. It works great :)
Comment #5
wim leersComment #6
wundo commentedHi Wim,
Actually there is another user case, when you use a Field views with one of the fields as the rendered entity. It should work great but it doesn't.
Cheers,
Fabiano
Comment #7
wim leers1) Please clarify by screenshots. I really don't know what you mean.
2) Please be aware that Views Fields are explicitly NOT yet supported: #1830518-15: Views integration (use Views' render pipeline to re-render edited fields in Views).
Comment #8
wim leersClosing due to lack of response.