LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Liam Kelly <[log in to unmask]>
Tue, 20 Jul 2010 16:07:17 -0400
TEXT/PLAIN (50 lines)
> Am I doing something wrong here?  Where does wa.cgi get that value from?

It comes from the OBJECT-NEWLIST-HEADER web template.  You can edit your
site.wwwtpl to remove the "Mail-Merge= Yes".  If you do that, you'll also
want to remove the new default bottom banner, as it uses mail-merge to do
a one-click unsubscribe banner:

In BODY-HDREDIT, remove the following line:

<!-- &+COPYBOTTOMBANNER; &+COPYBOTTOMBANNERHTML; -->

You have to remove this line altogether. Commenting it out is not enough.
As soon as WA encounters these commands, it copies DEFAULT_BOTTOM_BANNER
to BOTTOM_BANNER and DEFAULT_BOTTOM_BANNER_HTML to BOTTOM_BANNER as part
of the list creation process.

Also, in HDREDIT-MAIN, you need to change the following:

+BB &+COPYBOTTOMBANNER;&+COPYBOTTOMBANNERHTML;
+SE MSG &+T-NEWLIST_SUCCESSBANNER;
+ELSE
+SE MSG &+T-NEWLIST_SUCCESS;
+EB

So that it just reads:

+SE MSG &+T-NEWLIST_SUCCESS;

Alternately, you can edit the DEFAULT_BOTTOM_BANNER mail template to
include a conditional like the following:

To unsubscribe from the &LISTNAME list, click the following link:
.BB (&LITEFE = 0) and (&KWD(MAIL-MERGE,1) = YES)
&*TICKET_URL(&LISTNAME_ENCODED,SIGNOFF);
.ELSE
&WA_URL;?SUBED1=&LISTNAME_ENCODED&A=1
.EB

Hope this helps.

--
Liam Kelly
Senior Consulting Analyst
L-Soft international
[log in to unmask]

L-Soft offers a full range of Consulting services,
delivered remotely or on-site.  See here for details:
<http://www.lsoft.com/products/consulting.asp>

ATOM RSS1 RSS2