Meteor: How to override verify email popup dialog which appears after clicking email verification link -
i want add fields popup dialog appears when user click on verification email link sent there email. want extend sign process. when user clicked on verify link want show more fields zip code , date of birth in popup , on clicking save fields should save user modal. highly appreciated. new meteor.
i using ian:accounts-ui-bootstrap-3 sign process.
some more details if needed !
with following package, can replace templates :
https://github.com/aldeed/meteor-template-extension
so create own template, replace default 1 :
template.emailverifieddialog.replaces("_justverifiedemaildialog")
your dialog shown on every pages, have add behaviour make visible when necessary
template.emailverifieddialog.helpers({ visible: function () { return loginbuttonssession.get('justverifiedemail'); }
and manage click button event :
template.emailverifieddialog.events({ 'click #just-verified-dismiss-button': function () { loginbuttonssession.set('justverifiedemail', false); } });
Comments
Post a Comment