Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drupal_set_messages are not showing up on the user profile page #133

Open
shirazd opened this issue Aug 6, 2020 · 0 comments
Open

drupal_set_messages are not showing up on the user profile page #133

shirazd opened this issue Aug 6, 2020 · 0 comments

Comments

@shirazd
Copy link
Contributor

shirazd commented Aug 6, 2020

Actually, they do show up, but at the top of the Personal Collections block, not the top of the page.

The reason for this is in the Personal Collections block, the view footer (to add a new personal collection) only displays if there is something set in the No Results Behavior advanced setting. I used an empty "Global: Messages" type here, which hijacks the messages and shows them there, so they do not get shown on the top of the page. To retain the functionality without hijacking the messages, change the No Results Behavior advanced setting to an empty "Global: Text Area" instead (and retain the label "Need this to ensure the footer renders" just so we know what it's for). This is done at admin/structure/views/view/personal_collections/edit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant