Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationCustomizing CalendarScript (Moderators: scott, DanO, Marty)Adding event for a specific date directly from the calendar.
Pages: [1]   Go Down
Print
Author Topic: Adding event for a specific date directly from the calendar.  (Read 300 times)
0 Members and 1 Guest are viewing this topic.
Hans
Guest
« on: December 09, 2003, 04:22:00 PM »

Is there a way to add an event for a specific date by clicking on that date on the calendar. This is a feature I have seen in a lot of other calendars and would make it easier for my multiple users to schedule events after reviewing the calendar for available time slots.

-Hans

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: December 09, 2003, 07:17:00 PM »

** Is there a way to add an event for a specific date by clicking on that date on the calendar. **

Not as the calendar stands but it should be possible to make a plug-in to allow it.
There definitely is no such plug-in available at this moment as far as I know.

Dan O.


[This message has been edited by DanO (edited July 17, 2005).]

Logged
elbert
New Member
*

Karma: 0
Offline Offline

Posts: 1


« Reply #2 on: March 24, 2004, 09:05:00 PM »

Actually, if I understand your question correctly, I think this is what I have done for my calendars.  I did it by modifying the default template.  Specifically, I modified line 178 to read:

                        <SPAN BGCOLOR="<%=$_GRID_DATE_BGCOLOR%>" CLASS="griddatetext"> <NOBR><a href="<%=$ADMIN_CGI_URL%>?calendar=<%=$CALENDAR_KEY%>&username=<%=$User->{username}%>&template=schedule_oneclick_non_recurring.html" CLASS="commandtext"><%if($DAY->{'dd'}==1&&$VIEW ne "Month"){%><%=$DAY->{'monthname'}%> <%}%><%=$DAY->{'dd'}%></A> </NOBR></SPAN>

Two points about this:  

First, note that I am using the very nice oneclick_non_recurring plug-in which can be found at: http://www.much2.com/calendarscript/index.html.   This means on my calendars I also modified line 138 of my default template to use "oneclick" instead of just add_event, but you could still use add_event if you prefer.

Second, This modification just changes the action of clicking on the date box to start adding an event rather than change the view mode.  It comes up short in that it doesn't fill in that date on the form... which would really make this modification complete, but I didn't see a way to do that.

Hope that helps and I hope you see this reply even though it is months late!

David E.

------------------

Logged
master_shinobi
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #3 on: May 25, 2005, 10:14:00 AM »

Hi David E


thanks for the add event from calendar view.

however it still wants you to select a date  and then add event.
is it possible that when you click the calendar to add event it just adds it to that date>>>?

please help
John

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #4 on: July 17, 2005, 05:32:00 PM »

** is it possible that when you click the calendar to add event it just adds it to that date? **

I have just completed a plug-in which will allow you to add a link to the calendar grids where once clicked, a user can add an event but not have to deal with selecting a date. The date the grid the link was found on will be the date the event will be posted to.

The plug-in is called the "Grid Add Event" plug-in and is available at the Unofficial CalendarScript - Mods and Plugins site.

JFYI

Dan O.

[This message has been edited by DanO (edited July 17, 2005).]

Logged
Pages: [1]   Go Up
Print
Jump to: