ltwCalendar
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsProjectsltwCalendar

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old August 18th, 2003, 09:33 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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?

Reply With Quote
  #2  
Old August 19th, 2003, 07:34 PM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 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> ";

Reply With Quote
  #3  
Old August 22nd, 2003, 12:14 AM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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....

Reply With Quote
  #4  
Old August 22nd, 2003, 03:13 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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.

Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > display current day only?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT