howto change default radio button in compose.php

In compose.php the default radio button selection for sending emails is "both". (line 286, id0003). I want to change the default active radio button to "lovemail" (line 276, id0004).  How can I change that?

<input type="radio" id="id0002" name="sendto" value="lovemail" <?= $ ?></label>^M
^M
<input type="checkbox" id="id0004" name="notify" <?= $notify_sel  . $notify_dis ?> />^M
<label for="id0004"><?=  _t( "_Notify by e-mail" ) ?></label>^M

<input type="radio" id="id0003" name="sendto" value="both" <?= $ ?></label>^M

There is a problem with Dolphin displaying the German "Umlaut" in the system autogenerated emails. Since there is no fix for this I want to turn off the options "send as Email" and "both", and set the lovemail selector as the default and only option.

Anybody able to help?

Thanks a bunch,

Dirk

Quote · 29 Jun 2010

found the solution myself, in case somebody is running into the same problem:

changed in compose.php line 249

default:^M
$email_sel = "";^M
$lovemail_sel =  ' checked="checked" ';^M
$both_sel = "";^M

the checked parameter from the line $both_sel to the $line lovemail_sel and removed the other 2 input type radio options below.

This is a workaround to avoid the system sending out emails with localized content e.g. using German Umlaut "äöü". However, users now need to login to read their messages. I hope there will be a fix for this some day.

Dirk

Quote · 29 Jun 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.