[EventCalendar] Full Page Calendar

Erik Ramseth eramseth at gmail.com
Wed Mar 7 17:08:16 UTC 2007


Hello all,

First of all, ec3 is a great plugin.  It's pretty easy to use and modify.

Ok, down to business.

I have modified (read: sloppily hacked) the php, css, and js of ec3 to the 
point where ec3_get_calendar() provides a "full page" calendar based on the 
settings in the options page for ec3 (day of the week names, placement of nav 
buttons, etc.).  I believe this is something asked for in the to-do list, but 
I'm not sure if it's already accomplished.

I know others have done this, but I found it mostly for older versions of 
eventcalendar.  I based my work on some of the info here: 
http://wordpress.org/support/topic/80742 and here: 
http://wordpress.org/support/topic/27491.

The only problems are:

a) I'm not a programmer or coder, so I don't know if all that I have done is 
proper 
b) I didn't comment any of my work (although comparing originals with my 
modified files will reveal changes, and I can remember why I did certain 
things)
c) this excludes the possibility of having a small calendar in the sidebar 
(although having upcoming events still works)... although from what I gather, 
some hacking on the XML ID's or something like that could fix this. (this is 
beyond me at the moment)

you can see the result of my efforts here: http://www.umdtke.com/brothers/cal

I don't know if I should attach the modified files or insert them in this 
email, so I will do neither until someone can advise me on that.

One other thing I fixed is I modified the iCal code to allow for it to work 
properly when posts are hidden/revealed by the disclose-secret plugin (found 
here: http://bluesome.net/post/2006/01/01/121/)... After a while of pulling 
out my hair on that one I found all I needed was to add 2 characters to the 
code that generates the sql query!

I hope my work will help others with ec3!

-Erik




More information about the EventCalendar mailing list