-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Success callback #2
Comments
@rickydazla : you want that callback only inside the CampaignMonitorCallBack.SuccessCallback function(line 42 in theme.liquid) ? |
yes |
Something like below should be added at line 44 in theme.liquid. //you will have to force the wrapper(modal) to be visible because it will be hidden by default.. //then hide the wrapper again... |
By default on successful registration of an email. An alert box was being visible previously, after the changes I have done now, you will have either to enable this alert box by setting "ShowAlertBox" to true. Thing is that, why don't we have a default behavior after a successful callback ? Like the behavior you mentioned above. Of course this can be overwritten by the custom successful callback. Let me know what you think. |
With campaign monitor previously we have had two broad options 1) redirect to different landing page (specified within CM), or 2) callback. The default callback for CM ajax form is to display an alert. This is the first time I have asked for some kinda generic but different callback. All other implementations we have worked on have involved more customization.. |
See: |
Yes I know about that one, you told me that one was being used because client wanted to track signups by counting visits on redirected url. We can keep these current default behaviors but if there more clients that want to show messages like the one we just did, then we can think about it again. |
Well, there will always be a box in CM admin with a place to add a re-direct URL so if that is present then that should be the dominatrix. There might be other tracking pixels that people want to add on that page for Google, Facebook, AdRoll or some other shits that we don't know about... |
I updated the default behaviors, see here On Thu, Mar 5, 2015 at 12:17 PM, Rick Davies [email protected]
|
@jayvin can you give me an example callback for readme that would hide hide all elements within the
form fieldset
except thelegend
and then change thelegend
text, then removing / hiding the popup after a short period? txThe text was updated successfully, but these errors were encountered: