Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Currently we lack a row plugin for users to output user accounts through user_view() with a specific build mode.
Comment | File | Size | Author |
---|---|---|---|
#3 | 1246710-view-user-row-plugin.patch.patch | 4.95 KB | Dave Reid |
#2 | 1246710-view-user-row-plugin.patch.patch | 5.19 KB | Dave Reid |
#1 | 1246710-view-user-row-plugin.patch.patch | 5.19 KB | Dave Reid |
Comments
Comment #1
Dave ReidComment #2
Dave ReidStill trying to figure out why preprocess isn't running.
Comment #3
Dave Reid- Fixed users do not have links by default, so links are disabled by default (modules can add them in).
- Removed the preprocess as removing links could easily be done in the render() plugin's function.
Comment #4
dawehnernode or users? :)
If there is a help topic there should be probably also a help
I'm wondering whether we could add a class which does nothing but loading / pre_render etc. but don't have the render method.
Then node and user could utilize it and any kind of contrib which supports entity_view as well
Comment #5
kevinquillen CreditAttribution: kevinquillen commentedI am using the latest version of views, where this patch seems to be applied already.
I have a view setup to show Users, and display as Rendered Entity, with a chosen view mode created by Entity View Modes module.
When dumping the result, it seems that the view mode is set to 'account' no matter what, and none of our field settings are respected since its not passing in and using the view mode.
I want to use a view to have a stylized search showing a couple fields, and on the user detail page, -not- use the 'Full' view mode. How can I do this?