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


Login with username, password and session length

Search

 
Advanced search

8001 Posts in 1848 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationHacks and Mods (Moderators: scott, DanO, Marty)Feed calendar items to a different page
Pages: [1]   Go Down
Print
Author Topic: Feed calendar items to a different page  (Read 214 times)
0 Members and 1 Guest are viewing this topic.
sowalsky
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: August 12, 2003, 07:35:00 PM »

Hi,
I am very unfamiliar with Perl but here is what I'm trying to do.
I have a customized calendar that works fine. I'd like to make something that will feed today's events from the calendar database into my front (home) page for the website. I figure I probably should make a separate .pl file that does this, then SSI it into the front page.
Does anyone know how to accomplish this?
Thanks.
Logged
sowalsky
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #1 on: August 12, 2003, 08:20:00 PM »

Actually I found an answer to my previous question. But it raises another.
What if I want something to specifically call TOMORROW'S events?
That's my project.
Thanks in advance!

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 212

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


WWW
« Reply #2 on: August 13, 2003, 05:11:00 PM »

** I figure I probably should make a separate .pl file that does this, then SSI it into the front page. **

That is what the ssi.html template is for.

** What if I want something to specifically call TOMORROW'S events? **

You can have the SSI template display 2 days of events (today's and tomorrow's) by adjusting the 'duration' variable to "2d". I don't know about just tomorrow's events, it may require tinkering with that template's Perl code.

Dan O.


[This message has been edited by DanO (edited August 13, 2003).]

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