Hello all,
So our organization is making use of one of our contribution pages to allow our constituents to renew or join with a museum membership online through TNEW. The problem is the interface for this pretty confusing and restrictive. Currently I am working on a Javascript workaround that presents the contribution drop down in a more useful and aesthetic way, but maybe I'm doing to much and there is a better way to do this.
Without getting into API, are there alternatives to putting memberships online with TNEW besides using up a contribution page?
Thank you.
You can add a script to your custom header to accomplish this. I would catch the return value and replace the browser history with the cart (to preserve back button functionality). Note that the EVENTTARGET must be set for TNEWs .NET installation to accept the request.
Example:
https://boxoffice.fairfieldtheatre.org/dev/contribute.aspx?don=16
via
https://fairfieldtheatre.org/membership/
Jquery snippet:
$("#__EVENTTARGET").val('ctl00$mainContent$btn_add_cont');
$.ajax({
type: "POST",
url: window.location.href,
data: $("#form1").serialize()
}).done(function(){window.location.replace('../cart/cart.aspx?p=true');})
.fail(function(){window.location.replace('../cart/cart.aspx?p=true');});
This is a great solution.
Right now I'm basically using jQuery to rearrange all the elements on the contribution page, but this just takes the form and skips to cart. I like it.
How does one set the EVENTTARGET for TNEW? Is it a hidden element on the form?
Seems to be working out of the box, but nothing is being placed into the cart.
Hi Cody,
Tessitura recently put out a memberships-as-product plugin that you can use to sell memberships online using performances, and it converts the sale to a real Tessitura membership automatically. This could help you out here so that you don't have to do too much javascript-workaround type of interaction, which could have unstable compatibility with future releases of TNEW. I'm not across what your requirements are for selling your memberships online, but the plugin may be helpful to look in to.
If you are interested in knowing more send up a Task ticket and they should be able to help you out and answer any questions you may have about it. We have several TNEW organizations using this Tessitura plugin to sell memberships.
Thanks,
Chris Szalaj