Removing page wrapper from thank you page

Options
Hello,


In a donation form, I have a page wrapper set for the donation form itself that I want to use. However, for the thank you page, I want no wrapper, or a "blank" wrapper. How can I accomplish this?


Thank you.
Tagged:

Comments

  • Hi Jill,


    Instead of overriding a pagewrapper into another "blank" wrapper -- which I don't think you could on an out-of-the-box LO donation form (unless if it's an API where you have more control toward what page to redirect upon completion), why not customize the same pagewrapper that when it hits your "thank you" page by "analyzing" the returned URL parameter within the address bar, have that same pagewrapper exclude anything you want to exclude from being renderred on that "Thank You" page.


    This is especially applicable if the main reason you want it blank is for the look and feel, you just want it to be displaying whatever the "Thank You" page content only as defined within your backend.


    You can likely do so by tapping into the S8 tag  and grab the "donation=completed" validation if the URL contains that that indicate it's a donation thank you page  (provided you are using LO out of the box donation form, not API)


    So on your pagewrapper you would likely do something similar like this

    [[?[[S8]]::donation=completed::
    //this is thank you page

    [[S63:3]]


    ::


    //this is not thank you page

    <div id="mybanner">...</div>

    <div id="mycontent">[[S63:3]]</div>

    <div id="myfooter">...</div>


    ]]




    regards,

    Daniel

Categories