[Vtigercrm-developers] Calender Event Reminder

Alan Lord (News) alanslists at gmail.com
Thu Jan 5 09:02:56 PST 2012


On 05/01/12 15:53, Joe Bordes wrote:
> This is in modules/Calendar/addEventUI.php
> around line 460
>
> probably have to set the radio button selected and show the
> reminderOptions div by deafult by eliminating "display:none"

Thanks Joe,

That's what I thought. But it doesn't seem to have any effect. I have 
removed the template_c cache files too but it doesn't seem to have any 
effect on what is being rendered to the browser at all.

The modified code in AddEventUI.php:

<input type="radio" name="set_reminder" value="Yes" checked="checked" 
onClick="showBlock('reminderOptions')">&nbsp;<?php echo 
$mod_strings['LBL_YES'] ?>&nbsp;
<input type="radio" name="set_reminder" value="No" 
onClick="fnhide('reminderOptions')">&nbsp;<?php echo 
$mod_strings['LBL_NO'] ?>&nbsp;
				
</td></tr>
</table>
<DIV id="reminderOptions" style="width:100%">

The resulting html sent to my browser:
																																<input type="radio" name="set_reminder" 
value="Yes"  onClick="showBlock('reminderOptions')">&nbsp;Yes&nbsp;
											<input type="radio" name="set_reminder" value="No" checked 
onClick="fnhide('reminderOptions')">&nbsp;No&nbsp;
											
																					</td></tr>
</table>
<DIV id="reminderOptions" style="display:none;width:100%">

Go figure eh?

The annoying thing is this block of code is in about three or four 
different places but none of them seem to be having the desired effect...

Cheers

Al

> Let us know how it goes
>
> Joe
> TSolucio
>
> El 05/01/12 16:41, Alan Lord (News) escribió:
>> Hi everyone and a Happy New Year.
>>
>> I'd like to make the "Send Reminder" option on Events default to yes
>> rather than no.
>>
>> Looking through the Smarty templates I'm guessing this is in
>> ActivityEditView.tpl but Smarty syntax is not my strong point... :-(



-- 
The Open Learning Centre
http://www.theopenlearningcentre.com




More information about the vtigercrm-developers mailing list