|
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 |
joomlamoves Guest
|
Posted: Fri Feb 03, 2006 7:10 am Post subject: Time intervals per calendar |
|
|
hello again
globally you can set the default time intervals, but for a few calendars i want to be able to modify the event options. for instance, when selecting a time it would be within business hours, and start blocks are at 10, 14, 18 --- every 4 hours.
could i accomplish this by extending the properties page of the calendar or just hardcoding some conditionals in the add event files... |
|
| Back to top |
|
 |
joomlamoves Guest
|
Posted: Fri Feb 03, 2006 7:21 am Post subject: a solution maybe |
|
|
well, the only way i see of doing it is to modify the select by recognizing what calendar the event is in
in file event_edit_tpl.php around line 600
| Code: |
| ". $_cal_form->timeselect("starttime") ." |
assuming that tpl stands for template, is there a way to make custom event_edit templates for separate calendars?
The reason for this is the booking system, users will only be able to "book" slots.
i know that there will be more booking resource options in version 2, do you guys have an indication of release schedule... sorry for the two disparate questions...
joomlamoves |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Feb 03, 2006 12:52 pm Post subject: |
|
|
I wouldn't do a whole nother template for this. Just modify the existing one:
| Code: |
if($_SESSION['calendar'] == X) {
$_cal_form->print_select("starttime_hr", array_combine(range(10,14,18),range(10,14,18)));
echo(":00");
} else {
echo($_cal_form->timeselect("starttime);
}
|
We don't have a release date for 2.0. We're really tied up with custom development right now. Next on the list is a Joomla Studio update. Then a 1.3 release that adds MSSQL support, a pop-up designer, and possibly caching support. All of which are basically done, we just need time to clean it up then get it out to translators. Anyway.. yeah, a booking system is a ways away. |
|
| 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
|
|
|