Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
HI,
after creating profile types they are listed on every content node: pls. see picture.
This affects at all users.
Where can I disable these?
Comment | File | Size | Author |
---|---|---|---|
#2 | profile-2807189-jm.patch | 1.95 KB | joergM |
2016-09-27_13h55_30.png | 32.69 KB | maxilein |
Comments
Comment #2
joergM CreditAttribution: joergM as a volunteer commentedIn the profile.module the function profile_user_view adds the user profile view to all entity_views.
The attached patch adds a check route condition for 'entity.user.canonical' so that the profile view is only viewed on this route.
Comment #3
MarcoDeJong CreditAttribution: MarcoDeJong commented@joergM Nice! Reviewed your patch. Seems to be working fine.
Comment #4
kscheirerLooks good to me, and based on #3.
Dont use issue tags for "Needs Review" - just set the status of the issue itself.
Comment #5
KevinNickerson CreditAttribution: KevinNickerson commentedWhat's the status of this getting into a release?
Comment #6
nedjo@KevinNickerson
For a suggested change to reach a release, it must first be reviewed, accepted, and applied by a maintainer of the given project and then a new release must be issued.
Comment #7
mglamanIdeally we should not be checking the route. The display mode should be configured.
EDIT:
So it is embedded using the compact display mode:
We should ensure Profiles are not configured components in this default display mode.
Comment #8
mglamanMarking as outdated. The defaults have been changed. This should not happen anymore. See #2863021: Do not make extra fields visible by default.