Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Printing List of Events
Old 09-24-2006, 02:34 PM   #1
tina9msu
Calendar User
 
tina9msu is offline
Join Date: Sep 2006
Posts: 12
Default Printing List of Events

Love this calendar!
I am trying to make it possible for my students to print a list of current events from the list mode. I have a page created called "printlist.php" where the code for just the list mode will appear (i.e. no calendar, no bg images, nothing). It works as I want it to for the current month. However, if they would like to print out next month's events, it still pulls back in the current month's list.

Is there a way to link to the current list they are viewing in order to print it? I hope I'm making sense. If it's Sepember, and they go to October, and they click PRINT LIST, it opens a new page with September's list on it still.

Thank you!!
http://mytimelesspix.com/calendar/
 

Old 09-24-2006, 03:38 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,885
Default

The link to open the new window needs to pass the mo and yr variables.

Example:

printlist.php?mo=<?php echo $mo ?>&yr=<?php echo $yr ?>
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Thanks
Old 09-24-2006, 04:49 PM   #3
tina9msu
Calendar User
 
tina9msu is offline
Join Date: Sep 2006
Posts: 12
Default Thanks

WoW! I knew it was something with the variables... I kept trying to echo something else in there though.

Thanks though for your help!!!!
Tina
 

Still getting current month's list
Old 10-05-2006, 10:55 PM   #4
tina9msu
Calendar User
 
tina9msu is offline
Join Date: Sep 2006
Posts: 12
Default Still getting current month's list

Quote:
Originally Posted by Brian
The link to open the new window needs to pass the mo and yr variables.

Example:

printlist.php?mo=<?php echo $mo ?>&yr=<?php echo $yr ?>
I did exactly this with a Print List image. I think the problem I'm having is that I'm not actually listing the items on the page. I have the calendar on my main page, and then i have the print icon taking them to the events in list format. So it doesn't know what $mo and $yr are... so it goes to the current month's list.

Any help would be appreciated. Thanks!
 

Old 10-05-2006, 10:57 PM   #5
tina9msu
Calendar User
 
tina9msu is offline
Join Date: Sep 2006
Posts: 12
Default

I added a $_Get statement at the beginning of the page and it fixed the problem. Sorry for the premature post!! Love the calendar btw.

Last edited by tina9msu; 10-05-2006 at 11:04 PM.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
list mode, popups, and multiple events dedawgg Customizations (Themes / Templates) 1 07-17-2006 07:41 PM
List Mode - Being able to list events far into future cmb1202 General Support 2 11-04-2005 10:39 AM
List mode - show all past events for year neubeedoo Customizations (Themes / Templates) 3 11-01-2005 02:46 PM
list module doesn't list all events... hazonweb General Support 2 04-14-2005 04:34 PM



All times are GMT -4. The time now is 05:42 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |