Jump to content

"Loosing" a smarty variable in authentication!


Rhobur

Recommended Posts

Hi,

I have a smarty variable declared in an override FrontController in the initHeader method which I need to use on authentication.tpl

It is visible on /register?back=my-account#account-creation but after submitting the email for the new account, when reaching the next step with the registration form, my variable is no more, I get a null message.

But if I access directly the registration form at register?create_account=1 the variable is visible.

Somehow it gets lost during the transition from the initial email input to the registration form in the next step.

Any idea of what might cause this?

Robert

 

 

Link to comment
Share on other sites

I don't know the details but I have a guess that may help.

 

Every step is a separate form and webpage and between them the values are transferred as either hidden variables or cookies. It looks like that doesn't happen with your variable.

  • Like 1
Link to comment
Share on other sites

Yes, it seems the logical conclusion, any idea how to fix this?

What puzzles me is that my array variable is similar to the $countries variable used in the same form and that one has not this issue while my $counties variable does.

Couldn't find any hidden variable in the initial step (the one you choose to make a new account or to login).

Thanks for trying to help! 

Link to comment
Share on other sites

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...