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.
Right now there are two options for the users:
1. Anonymous ones, who see the classic "subscribe" option (text input field + button)
2. Logged-in users, who see only the "subscribe" button.
Logged in and subscribed users don't see anything at all, and that absence (in my actual design) is pulling the adjacent floated blocks, making a visual imbalance on the page header.
For this scenario, is it possible to have a third block, which will supply simply an "Unsubscribe" bouton or a Form where users can enter their email address and unsubscribe?
Regards
Comments
Comment #1
ParisLiakos CreditAttribution: ParisLiakos commentedHmm yes, would be a nice addition to have
Comment #2
Tunox CreditAttribution: Tunox commentedI would even be happy using block with a simple link that points to the unsubscribe page. While by default is easy to show the block only to logged in users, the issue is knowing who's subscribed and who's not :(
Comment #3
ParisLiakos CreditAttribution: ParisLiakos commentedComment #4
spacebox CreditAttribution: spacebox commentedAny progress on this issue? Same problem here. The block doesn't show up for known/subscribed users and 'breaks' floating layout.
My layout works fine but an empty space looks weird and it would be nice to have a static block with different options depending on the status e.g. subscribe, unsubscribe, link. Actually subscribe/unsubscribe are the only options that make sense and even cover all possible states. A user can be subscribed or not, that's it. Or isn't it?
On the settings page there's a 'Always show subscribe block,even if user is subscribed.' option which seems to have no effect so I assume it's a bug.