Announcement

Collapse
No announcement yet.

Subscribe2 and Other Page Templates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Subscribe2 and Other Page Templates



    Hello,

    I'm using Viking's Other Page Templates and loving it, at least til I
    found out that there's not an easy way to integrate the Subscribe2
    checkbox with the OINF page. Anyone find a good way of doing this?
    There are a few threads in the archives but no straightforward
    solution.

    I'll contact tech support and see what I can find too.

    - Andrew

    --- Andrew Waegel Benevolent Technologies, LLC ---
    --- 510 418 5137 [email protected] ---



    #2
    Subscribe2 and Other Page Templates



    Andrew,

    Just went through this myself - like two nights ago. Put this in your
    OINF template:

    <INPUT TYPE="checkbox" NAME="wumpsubscribe2checkbox" CHECKED>
    <FONT FACE="%bdyfontface%" SIZE="%bdyfontsize%">Yes, Please
    send me your email newsletter.</font>

    Put this in your OSEL template:
    At the VERY top of your "Main template" put

    %OUI%

    then, before the %endform% at the bottom of "Main template" put

    %IF(tolower(g.wumpsubscribe2checkbox) EQ 'on')%
    %SET(g.sub2directory|%VAR(g.MerchantPath)%00000001/subscribe2/)%
    %SET(g.sub2module|%VAR(g.Module_Root)%modules/system/
    subscribe2_OpenUI4c.mvc)%
    %DB(OPEN|subsoui|%VAR(g.sub2directory)%oui.dbf)%
    %DOFUNC(l.ok|g.sub2module|fullysubscribe(basketlis t.d.bill_fname $ ' '
    $basketlist.d.bill_lname, basketlist.d.bill_email))%
    %DB(CLOSE|subsoui)%
    %IFEND%


    This works for me - I'd suggest testing. Credit goes to Susan Petracco,
    Jon Viscott and Jason Henderson.

    Gordon

    MIKE, consider adding to your Support or FAQ

    On May 13, 2005, at 1:12 PM, Andrew Waegel wrote:

    > Hello,
    >
    > I'm using Viking's Other Page Templates and loving it, at least til I
    > found out that there's not an easy way to integrate the Subscribe2
    > checkbox with the OINF page. Anyone find a good way of doing this?
    > There are a few threads in the archives but no straightforward
    > solution.
    >
    > I'll contact tech support and see what I can find too.
    >
    > - Andrew
    >
    > --- Andrew Waegel Benevolent Technologies, LLC ---
    > --- 510 418 5137 [email protected] ---
    >
    >

    Comment

    Working...
    X