Rhobur Posted May 4, 2016 Share Posted May 4, 2016 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 More sharing options...
musicmaster Posted May 4, 2016 Share Posted May 4, 2016 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. 1 Link to comment Share on other sites More sharing options...
Rhobur Posted May 4, 2016 Author Share Posted May 4, 2016 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now