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 
Multiple calendar with different theme for each

 
Post new topic   Reply to topic     Forum Index -> Themes
View previous topic :: View next topic  
Author Message
jon.vanderiet



Joined: 14 Apr 2008
Posts: 2

PostPosted: Mon Apr 14, 2008 7:38 pm    Post subject: Multiple calendar with different theme for each Reply with quote

Is there a way I can have multiple calendars in Thyme but set a different default theme for each one?

Currently I have a separate Thyme installation for each but I want to consolidate this into a single installation but still maintain unique themes for each.
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Apr 14, 2008 7:41 pm    Post subject: Reply with quote

Hi,

No, I'm sorry. There is no setting to change themes per calendar.
Back to top
View user's profile Send private message Visit poster's website
jon.vanderiet



Joined: 14 Apr 2008
Posts: 2

PostPosted: Mon Apr 14, 2008 7:51 pm    Post subject: any way to hack this? Reply with quote

I am a php developer. Is there a way I could modify this and send the default theme through the URL parameters perhaps?
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Tue Apr 15, 2008 3:24 pm    Post subject: Reply with quote

You could add this code to index.php around line 90. Something like this should do:

Code:

if($_cur_cal->title == "Some Calendar") {
  _ex_theme_set("theme_name");
} else if(..) {
... etc ..
} else {
.. etc ..
}


Where the current calendar's title is kept in $_cur_cal->title and you may set the theme using _ex_theme_set(). Let me know if you have any questions at all.
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 -> Themes 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.