Hi Mike,

Currently if a un-registered user visits the site, the Navigation menu shows up only containing one link, "Email newsletter". Clicking on this re-directs them to the user registration page.

Registered users are taken to their profile page where they can edit their subscription requirements.

I didn't think un-registered users were able to see the Navigation menu. Is that correct?

There is a Block provided by the module to allow for Subscriptions if a admin wants to use it, which makes me think this is a bug?.

How can this link be hidden from un-registered users?

Thanks.

Comments

Mike Wacker’s picture

Status: Active » Closed (works as designed)

That makes sense. If a user is not registered, then we want to point them to the registration form, where they can simultaneously register and subscribe to the newsletter.

The email newsletter link is supposed to attract anyone who 1) wants to get the email newsletter, or 2) wants to modify their subscription.

Peng.Pif’s picture

Thanks for your reply.

I agree with what you are saying, but I feel it would make the module adaptable to more situations if this link was made available as part of a block. Perhaps incorporated into the 'SunMailer subscription form' block.

As it stands, if a registered user wanted to modify their subscription, they could do this via 'My account', or by using the 'SunMailer subscription form' block, if the admin has enabled it.

Benefit being the admin has the choice to show/hide this functionality depending on their requirements and also choose who they want to be able to see it.

Could it be that if a non-registered users see's this block they see the link to register and that if it is a registered user they see the options to change their subscription settings?

EDIT:

Layout issues have just occured to me. An admin may want to keep the Navigation menu in the right sidebar but have everything to do with the newsletter in the left sidebar, footer areas etc. At the moment they can't as this link is tied into the Navigation.

A workaround could be to disable the menu item 'Email newsletter' and instead create a block with a link to edit/sunmailer.

What are your thoughts?

Mike Wacker’s picture

Title: Link to Newsletter Navigation menu visible by un-registered users » More access control options for newsletter menu item and block
Category: support » feature
Status: Closed (works as designed) » Fixed

I was taking a look at this as I was making some other tweaks to the Subscription settings and added in some more access control options. I just checked the code into the dev branch.

This should address your concerns.

Peng.Pif’s picture

Thank you Mike.

Will install the dev tomorrow and report back.

Peng.Pif’s picture

Works great.

Thanks!

Satri’s picture

I'm eager to see these improvements :-)

For anonymous users, is there anything more than the "Email newsletter" item in the Navigation block? The Newsletter block isn't shown for anonymous users, and they are actually the ones who might most benefit (in my use case at least) from knowing there's a Newsletter available.

Why not a block (the same one?) inviting anonymous users to register and subscribe to the newsletter? I do understand that it's somewhat redundant to the 'User login' block, but the 'User login' block doesn't inform the user that there is a newsletter for the site.

What do you think? Thanks! - Alex

Mike Wacker’s picture

In the dev branch, you can set access control for both the menu item and the block so that anonymous users can see them.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.