PDA

View Full Version : printable.php


flyingMoose
08-19-2005, 01:28 AM
I tried to install from mambo admin
"install new module"
"upload package file" then I selected the printable.zip file..
but
I get this error:

Upload module - Upload Failed
ERROR: Could not find an XML setup file in the package

maybe I got the zend package
because ZEND doesn't work here for me
I need the other one maybe
(checking into this)

ve9gra
08-19-2005, 09:16 AM
I'm only going to answer this post as there are three posts that are exactly the same.

According to diske52, you only upload the file inside the zip directly in your calendar folder.

Ref: http://www.easyphpcalendar.com/forums/showpost.php?p=6020&postcount=11

NOTE: Don't use the files included in that post as they might be older. Use the ones in the sticky.

flyingMoose
08-19-2005, 06:51 PM
worked like a charm
sorry for multiple postings
bad forum form

Bandit
10-24-2005, 01:40 AM
Does this file only list events for the current month? I have everything installed on my mambo site, and all appears to be working great. I only have 1 event entered into the calendar so far, (Still testing, don't want to enter too many then find a problem.) but it's not in the current month. Whenever I click on the printable calendar link, even if I have navigated to the month the event is in, I get "There are no events listed for this time frame".

Is there a way to get it to work for whatever month is displayed in the module?

ve9gra
10-24-2005, 06:45 AM
Sure, it is possible. All you have to do (if I'm not mistaken) is to pass the $mo and $yr variables to the script. You'd have to modify the "Printable" link to include the current month and year...

Let me know if you need help putting it together.

Bandit
10-24-2005, 05:04 PM
Thanks for your quick reply. It would be awesome if you could tell me how to set that up. The extent of my experience with php is that I can manage to change/add/remove things that someone tells me to without blowing up my site completely (usually). :)

ve9gra
10-25-2005, 08:01 AM
Here we go... I updated the module to modify the link to the printable calendar. That way it will link you to the month you're currently viewing on the small calendar.

Make sure you UNINSTALL the module. Don't just delete the module, it will leave the files behind and won't let you upload it again. You have to go to Modules - Install/Uninstall - select EasyPHPCalendar and click the Uninstall at the top.

Then just upload the new module.

Let me know how it goes.

Bandit
10-25-2005, 10:48 PM
Works like a charm! Thanks so much!