Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
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. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Time intervals per calendar

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
joomlamoves
Guest





PostPosted: Fri Feb 03, 2006 7:10 am    Post subject: Time intervals per calendar Reply with quote

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





PostPosted: Fri Feb 03, 2006 7:21 am    Post subject: a solution maybe Reply with quote

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

PostPosted: Fri Feb 03, 2006 12:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.