My process:

- Installed enewsletter and all dependencies
- Created test template and newsletter
- Unsure of how to subscribe a user to a test newsletter, I went to the user page -- no options there
- Saw the 'Test newsletter' block, added to the page
- Clicking 'subscribe' redirects me to: user/1/subscribe/enewsletter
- But I actually only see user/1 because I did not enable the Email Newsletter type here: admin/subscribed/configuration -- no message/warning/explanation

I ended up taking a look at the hook_menu for subscribe.module to track down $subscribed_types_displayed, saw the variable_get and figured there was an interface for it somewhere.. probably could have RTFM more. ;)

A few thoughts that may be helpful:

- Consider enabling subscription display for 'Email Newsletter' in the .install file (initial fresh install only, do not overwrite anything)?
- Consider offering a warning message if visiting user/%/subscribe/x and no types are enabled
- Consider offering a warning message with the subscribe block if that subscription display is not enabled
- Offer tip on project page to enable subscription displays

First one seems to be the easiest .. people enabling the enewsletter/subscribe module for the first time would likely want Email Newsletter enabled, at least for initial testing.

Regards,
Jason

Comments

robert castelo’s picture

Status: Active » Closed (fixed)

Have added configuration instructions in the README.txt file