MukurtuCMS / mukurtucms

GNU General Public License v2.0
81 stars 36 forks source link

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

Open shirazd opened 4 years ago

shirazd commented 4 years ago

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