|
Quotes |
" ... I want to tell you that your thyme product is functional and valuable beyond
words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."
" ... Thanks for such a complete project, its making my job much easier. ..."
" ... I have now deployed 4 different calendars and our users love them ... "
" ... Easy to install and use and a great look/design. ..."
" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."
|
|
| View previous topic :: View next topic |
| Author |
Message |
Gilles Guest
|
Posted: Tue Jun 20, 2006 3:57 am Post subject: How to change default button... |
|
|
Hi Ian,
How do we make "all day" the default radio button (checked) in the event creation window (general tab)?
Thanks,
Gilles
PS. tried to set the $allday variable to 2 in the class.event, but this didn't work. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue Jun 20, 2006 4:01 am Post subject: |
|
|
Hi Gilles,
Create the file customize/event_defaults.php with the following contents:
| Code: |
<?php
$_cal_event->allday = 1;
?> |
|
|
| Back to top |
|
 |
Gilles Guest
|
Posted: Tue Jun 20, 2006 4:03 am Post subject: is this correct? |
|
|
I just tried to set the $allday to 1 and it seems to work.
Is this the right way to accomplish this?
Gilles |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue Jun 20, 2006 11:11 am Post subject: |
|
|
| That works too. It's fine. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|