|
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. ..."
|
|
| View previous topic :: View next topic |
| Author |
Message |
Brad
Joined: 05 Aug 2008 Posts: 1
|
Posted: Tue Aug 05, 2008 9:55 pm Post subject: Remove the [+] Button and Event Adding Validation |
|
|
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 |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Aug 06, 2008 6:10 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|
|