Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
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 
Remove the [+] Button and Event Adding Validation

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



Joined: 05 Aug 2008
Posts: 1

PostPosted: Tue Aug 05, 2008 9:55 pm    Post subject: Remove the [+] Button and Event Adding Validation Reply with quote

I have a couple questions, being a new client of Thyme. ( http://www.burlingtonbuzz.com/calendar )

First of all, I want to remove the " [ + ] " buttons from each date on the calendar. I added an "Add Your Event" tab based on a hack someone posted here on the forums so these seem redundant and clutter up the page:



The problem is I'm not sure what file actually contains the code that adds these to the calendar.

The second thing is that I have the calendar set up so that guests can add events, which must then be approved by an admin before they are accepted. The problem is that if the users don't fill out all three tabs on the submission page, the event does not get submitted, but the user isn't told in any way that their submission hasn't worked.

I was thinking of adding a simple warning in red text that says to be sure to fill out all three tabs here:



What file would I need to edit to add this?

Thanks!
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5160

PostPosted: Wed Aug 06, 2008 6:10 pm    Post subject: Reply with quote

Hi,

1) Edit include/classes/class.calendar_real.php and add this to line 187 (the line above the } ):

$this->editable = false;

That should remove the +'s

2) That is strange. It should submit either way. Can you add an event directly as an admin without filling everything out?
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.