Jump to content

changing how newsletter reacts to registrations


Recommended Posts

Is it possible to change the way the newsletter module processes registrations?

 

I would prefer a pop up rather than redirecting to the homepage, especially since, if they register at the bottom of the page, they won't see the successful registration message unless they scroll all they way down after the redirect.

 

Or maybe to a new page that says successful registration, and a button to click to continue shopping?

Or would this require extensive coding?

 

I also see this problem with the newest 1.6 that I'm testing out locally. It's nice that it gives a long green bar with the successful registration message(towards the top of the page), but there's a lot of 'noise' around it (flash banner and other graphics) that I think it might 'confuse' the shopper about what they just did.

 

If not, no big deal, just curious if there was an easy way to do this.

 

Thanks.

Link to comment
Share on other sites

hi,

the best way to do this is modify module.

becuse , form is redirect to index.php  ( look in the html  <from action="yoursite/index.php" ) .

 

The best way is to use ajax, but it is more dificult.

 

you can redirect the submited e-amil to another controler (in module file):

 

private function _prepareHook($params)
    {
        if (Tools::isSubmit('submitNewsletter'))
        {

                    / / TOOLS:Redirect ()  

          }

 

}

 

But it is dirty solution

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...