Mailing List Return Param
Posted: 08 June 2008 10:36 PM   [ Ignore ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1986
Joined  05-07-2007

Related to this thread.

I want to get rid of the standard message that comes after a member signs up for a mailing list, and

Curious as to what might be better:
a.)  Follow the instructions on the previous post.

—or—

b.)  Add the return param to mod.mailinglist.php looking over the src, it seems as though I just need to add:

$return = ($TMPL->fetch_param('return') === FALSE) ? '0' : $TMPL->fetch_param('return');

at line 54 & change RET in the hidden fields to $return.

I do not suspect any reason for upgrading EE builds/versions after I get this fixed, but of course, it will be well commented, etc, and I would be involved with updates to the build/version if needed.

Thanks,

-greg


ETA:  I just added a feature request for this as well

 Signature 
Profile
MSG
 
 
Posted: 09 June 2008 03:07 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15346
Joined  05-15-2004

As you know, we do not recommend and cannot support hacking of EE Core files, so a FR is certainly the best option… Closing for now, as no technical support seems required smile

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64886 Total Logged-in Users: 69
Total Topics: 81811 Total Anonymous Users: 26
Total Replies: 439831 Total Guests: 269
Total Posts: 521642    
Members ( View Memberlist )
Newest Members:  Ax the Bkikibalkhulaidi19Hotcards.comShrike67Dynamic1justingpticketjendicottdxrsm