PDA

View Full Version : Two Questions :: (TOC and LM)


wshinds
10-03-2005, 01:18 AM
1) Where in the configuration settings is the "Text On Calendar Mode" enabling option?

2) As far as the "LIST MODE" goes, is it possible to export or simply PORT the list portion of events to a forum software like IPB?

That being said, the reason I am installing and have purchased this program is because the IPB calendar system has gone rogue and is absolute crap in my personal and professional equipment. EPC is far more... customizeable, and without completely useless trimmings. EPC is efficient and easy to look at.

What I plan to do with this software is use the TOC (Text on Calendar) version of the calendar when users select the Calendar Option, of course, I would completely code the native IPB calendar OUT, and redirect the users to the EPC calendar, where I have also added a back link to the website by building in an iFrame.

Can I also use the same calendar to output upcoming events in LIST MODE within the boards "statistics" section as well?

If this is doable, I would like to know before I go about trying to do it.

Brian
10-03-2005, 10:18 AM
1) It's a command-line variable named $TOC. Here's some additional information: http://www.easyphpcalendar.com/docs/Integration/Text%20on%20Calendar%20(TOC).htm (http://www.easyphpcalendar.com/docs/Integration/Text%20on%20Calendar%20%28TOC%29.htm)

2) You could do this... The easiest way to export the List Mode is to use ob_start and store the output in a variable, then store that variable in a database or in a file on your server. Or you may just be able to add the calendar code to the forum. If using the list mode, all you need is the $LIST=1; and require("calendar.php") commands (the CSS is stored in the list mode template).

wshinds
10-03-2005, 10:41 AM
1) It's a command-line variable named $TOC. Here's some additional information: http://www.easyphpcalendar.com/docs/Integration/Text%20on%20Calendar%20(TOC).htm (http://www.easyphpcalendar.com/docs/Integration/Text%20on%20Calendar%20%28TOC%29.htm)

2) You could do this... The easiest way to export the List Mode is to use ob_start and store the output in a variable, then store that variable in a database or in a file on your server. Or you may just be able to add the calendar code to the forum. If using the list mode, all you need is the $LIST=1; and require("calendar.php") commands (the CSS is stored in the list mode template).

Thanks for the help Brian -- I'll give these bits a try. Not to PHP savvy. I Program CFML but I can't do basic PHP. Pathetic.

-Scott

wshinds
10-03-2005, 12:48 PM
I cheated. What I did was add a nested iFrame in the IPB footer section, calling of course to a new PHP file strictly listing the events. Additionally, I built in a section of the users CP to pick between the listed events or the multiple (3 month-spanning) calendars.

Awesome work Brian.

-Scott