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 
which vars hold start and end dates for the event?

 
Post new topic   Reply to topic     Forum Index -> Hacking Thyme
View previous topic :: View next topic  
Author Message
gilles
Guest





PostPosted: Tue Jun 20, 2006 10:21 pm    Post subject: which vars hold start and end dates for the event? Reply with quote

Hi Ian,

We're almost there...

During the writing of the event (events.php) we also write to another db (equipment) successfully. However, we need to also write b both the start and end date of the event in unix time (epoche time). What are the vars that hold this information?

PS. Most of the events will be of a "repeating" nature, meaning, an event occurs for 1 to several days.

Thanks for your contiued help,

Gilles
Back to top
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Tue Jun 20, 2006 10:26 pm    Post subject: Reply with quote

starttime and endtime should hold those
Back to top
View user's profile Send private message Visit poster's website
gilles
Guest





PostPosted: Wed Jun 21, 2006 2:06 am    Post subject: Thanks! Reply with quote

Thanks Ian,

I'll give those a try.

Gilles
Back to top
dino
Guest





PostPosted: Fri Jun 23, 2006 7:22 am    Post subject: Reply with quote

Hi Ian,

another question about end times...what if we need to know the end time of the event before the submit button is hit...does the repeat and date function hold that value in memory? If so how can we access that?

Thank you!

Dino
Back to top
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Fri Jun 23, 2006 1:46 pm    Post subject: Reply with quote

You would have to use javascript to see what date(s) / time(s) the user has selected.
Back to top
View user's profile Send private message Visit poster's website
Dino
Guest





PostPosted: Fri Jun 23, 2006 8:54 pm    Post subject: Reply with quote

hi Ian, We are really stuck!

We need to use the enddate in PHP code to calculate a value to be written in our equipment tab...knowing we can't do a refresh to pass this variable(enddate). Is there a trick or technique you can recommend to get the variable to pass to PHP using javascript but without refreshing the PHP script....?

Dino
Back to top
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Fri Jun 23, 2006 9:04 pm    Post subject: Reply with quote

You could use an iFrame / javascript or look into AJAX.
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 -> Hacking Thyme 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.