|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
display current day only?
I love the way the calendar works while on it's own page, but can't seem to get it integrated onto my homepage (which has lots of other random PHP code on it)
Basically, I want to be able to display "todays events" on my home page with a link to the actual calendar page (or popups of the event info). Any way to do that? |
|
#2
|
|||
|
|||
|
RE: display current day only?
On my web site, the homepage is also done in PHP.
What I did (for now) was create a link to "Today's Events" like this: $url="calendar.php?display=day&stamp=".time()."&day=".date('j',time()); echo "<a onclick="javascript:launchbig('".$url."')" href="".$url."">Today's Events</a> "; |
|
#3
|
|||
|
|||
|
RE: display current day only?
I just saw this in another post.
Include handles "remote files" so you should be able to: include ('calendar.php?display=day&stamp='.time().'&day='.date('j',time()) ); And get the events for a day.... |
|
#4
|
|||
|
|||
|
RE: display current day only?
Thanks! I will try both solutions and see what comes up. I have tried the "include" option before, but not exactly like that.
|
![]() |
| Viewing: Codewalkers Forums > Projects > ltwCalendar > display current day only? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|