I want to display a message in a block for unauthenticated users and a different message for authenticated users.
Does anyone know of a module or method to solve this fairly common use case with ony ONE block.
I think the obvious solution for this is to create two blocks with two different visibility rules. I've had to do this in a number of cases. But, it seems a bit hacky. In Backdrop layouts can quickly get cluttered with conditional blocks and I think the opportunity to reduce the number of blocks needed would be worth it.
This seems like a common enough use case and potentially not that had to create.
Does such a module exist for Backdrop or Drupal?
I did find this interesting idea, which might be better, because this could work in a block or a regular node page.