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 
Site Integration with tabs and calendar dropdown

 
Post new topic   Reply to topic     Forum Index -> Web site integration
View previous topic :: View next topic  
Author Message
coderFreak



Joined: 03 Oct 2008
Posts: 5

PostPosted: Fri Oct 03, 2008 1:27 am    Post subject: Site Integration with tabs and calendar dropdown Reply with quote

good day

i am new to thyme and i just started to develop with for a week now. i am trying to develop the following layout


i am having trouble with the calendar. when i choose calendar_name, the calendar does not display anything / does not display the events.

same as with the event view. it does not display the events of a certain calendar_name

this is kinda urgent so any help would be highly appreciated. thanks

coderFreak Very Happy
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5279

PostPosted: Fri Oct 03, 2008 5:23 pm    Post subject: Reply with quote

Hi,

Could you please e-mail me regarding this? ian@extros... Attach the code you are using and please include the URL and admin password to Thyme.
Back to top
View user's profile Send private message Visit poster's website
coderFreak



Joined: 03 Oct 2008
Posts: 5

PostPosted: Mon Oct 06, 2008 1:37 am    Post subject: Reply with quote

got it working. just added the following in the start of my code

Code:
<?
session_start();
$_SESSION['calendar'] = $_REQUEST['calendar'];
?>


the next prob i had now is the http://localhost/event/events.php?evnt_view=2

my calendar view tabs works by switching the $_SESSION['v'] variable

i don't know now what to do with 'evnt_view' so that the 'All | Upcoming | Past' links in the events view would work.

i sent you an email earlier but just ingnore that. Smile
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5279

PostPosted: Tue Oct 07, 2008 4:59 am    Post subject: Reply with quote

Hi,

It may be easier to just use this after session_start():

Code:
foreach(array("y","m","d","v",'evnt_type','calendar',
        'vcat','event_action','evnt_view',
        'searchfor','evnt_order_by','evnt_order_desc','evnt_count') as $var) {

      if(isset($_REQUEST[$var]) && !is_array($_REQUEST[$var])) {
         $_SESSION[$var] = $_REQUEST[$var];
      }

}
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 -> Web site integration 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.