Zoo Visitor Registration Form and Seg2Cat
I'm using Seg2Cat on a site with Zoo Visitor (ZV). The problem is with ZV Registration form... when I submit the form (with inline errors) and the form returns with validation errors, Seg2Cat variables don't process.
Help?
Replies
Low 31 Oct 2012 18:14
This might be because the hook where the variables are added to the Snippets array isn't triggered when viewing the errors.
What's the URL for that particular page?
MatthewKirkpatrick 31 Oct 2012 18:22
Low,
This is a preview link:
http://www.concealedcarryonline.com.p...
Note the unprocessed variables on the right column of the layout after you submit the blank form
Low 31 Oct 2012 19:16
I'll confer with the fine people at EE Zoo and get back to you.
MatthewKirkpatrick 31 Oct 2012 19:21
Low,
Sounds good.
I appreciate your speedy responses!
Thanks.
Low 31 Oct 2012 22:05
Can you try and download the latest version from the dev branch on github here: https://github.com/lodewijk/low.seg2c...
That should update Seg2Cat to 2.7.0 and fix the issue, as long as you're on EE2.4.0 or later.
MatthewKirkpatrick 1 Nov 2012 12:01
Low,
It is working perfectly!
Great work as always.
MatthewKirkpatrick 9 Nov 2012 14:42
Low,
I hate to re-open this, but since I installed the update you provided, I have discovered that S2C variables are not being parsed inside EE snippets. I was able to confirm this by reverting back to v2.6.3 and they processed.
Thoughts?
Low 9 Nov 2012 16:07
Ah, nesting early parsed vars like that is always tricky business.
Try this; change line #529 from this:
to this:
...swapping the two arguments.
MatthewKirkpatrick 9 Nov 2012 16:25
Low,
Perfect.
Thanks so much!