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


Go Back   Easy PHP Calendar > Integration > Mambo/Joomla Integration

Mambo/Joomla Integration Information about integrating the calendar with the Mambo Content Management System.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Module Question
Old 01-15-2007, 01:30 PM   #1
ryan.carnrick@mocd.net
Calendar User
 
ryan.carnrick@mocd.net is offline
Join Date: Jan 2007
Posts: 8
Default Module Question

Once again thank you guys for helping me out this has been really painless so far. About the module. I am guessing by reading the code on the module you want me to place the "Printable.php" in the calendar directory? Right? How do I just show 1 up coming event - then after that day the next one kicks in. Repeated for clarity - Just want to show the one next upcoming event then at midnight have it look for the next one to show. On the module.
 

Old 01-15-2007, 09:30 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Yes, upload it in the /modules/calendar/ directory.

Now, in the printable.php, pretty much right at the bottom, just before the line with require("calendar.php"); add the following:
PHP Code:
$listEvents=1;
$noOld=1
If you want to show the whole day instead of only 1 event, change $listEvents for $listDays.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Need Help Again
Old 04-11-2007, 02:50 PM   #3
ryan.carnrick@mocd.net
Calendar User
 
ryan.carnrick@mocd.net is offline
Join Date: Jan 2007
Posts: 8
Question Need Help Again

I tried to follow the module setup but I could not get it to work.
My setup is like this:
/public-html/
/public-html/calendar/

I never installed the calendar software in the module directory (doesnt make sense to me) need the friendly url www.name.com/calendar/

I dont want list style, breaks my "awesome" design. I only want to pull the name of event & date and have it link to in a "ul" list.

I will be happy to show the site on a more offline converstation, please contact me privately.
 

Old 04-11-2007, 06:04 PM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

It doesn't have to make sense.. that's how the module was designed and if it is not installed within the /modules folder it just won't work. It is the first step in the instructions for a reason

Modify the (or create a new) template you're using to work with your site.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 04-11-2007, 06:14 PM   #5
ryan.carnrick@mocd.net
Calendar User
 
ryan.carnrick@mocd.net is offline
Join Date: Jan 2007
Posts: 8
Default

Is there anyway since it's in the same db I can write a php script to pull the info from mysql into a module? And can I get any direction on how not to spin my wheels looking for this script?
 

Old 04-11-2007, 06:40 PM   #6
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

No, trying to create your own module to connect directly to mysql is counterproductive. There is tons that happens in the background to process recurring and floating events.

The best is to simply modify the list template that you're using so that instead of creating a table, it creates a UL list.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 04-11-2007, 06:48 PM   #7
ryan.carnrick@mocd.net
Calendar User
 
ryan.carnrick@mocd.net is offline
Join Date: Jan 2007
Posts: 8
Default

This is what I can see from the module source
require ("modules/calendar/calendar.php"

Can I put a ful linux path to make this work with my setup?

require ("linuxname/public-html/calendar/calendar.php"

If I can get this to work first then I can worry about the design.
If you have any solutions to make it work this way I will be happy to put together pdf for other future joomla users (my way of saying thanks)
 

Old 04-11-2007, 10:37 PM   #8
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

You can try using "calendar/calendar.php". If that doesn't work you will need the full path from the root.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 04-23-2007, 12:49 AM   #9
ryan.carnrick@mocd.net
Calendar User
 
ryan.carnrick@mocd.net is offline
Join Date: Jan 2007
Posts: 8
Default

Now getting new problem. The printable.php does not look into next months events. Just states no upcoming events to display. Why does it not see next month? code used
$LIST=1;
$DF = "M d - D";
$noOld=1;
$template="monthly.php";
require ("calendar.php");

Tried using ($listEvents=1;) displays mini calendar this does not work.
 

Old 04-23-2007, 06:23 AM   #10
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

$LIST=1; is required if you want to use the list. Then you add on optional parameters to limit what will be displayed. You can't replace $LIST by $listEvents, $LIST is always required.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 04-23-2007, 11:08 AM   #11
ryan.carnrick@mocd.net
Calendar User
 
ryan.carnrick@mocd.net is offline
Join Date: Jan 2007
Posts: 8
Default

That wasn't the real question. The printable.php does not look into next months events. Just states no upcoming events to display until that month has passed. Why does it not see next month?
 

Old 04-23-2007, 12:42 PM   #12
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

When the listing module is used by itself, it only looks for the current month. If you want it to look ahead, use one of the optional parameters ($listDays, $listWeeks, $listMonths, $listYear, or $listEvents) and set it to an appropriate number.

If you're using the list mode in conjunction with the normal or TOC calendar, the listing module will use the month that is currently displayed on the calendar instead of the current month.

For example, since you're using $noOld, you might want to have $listWeeks=4 or 5 to have a constantly rolling list of events that span the next 4 or 5 weeks.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
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
Upcoming Event module - limit descr length keita Mambo/Joomla Integration 9 08-07-2006 09:23 AM
Mambo module and file directory swimmrguy Mambo/Joomla Integration 5 09-23-2005 12:28 PM
Listings Module Question ddenson General Support 1 07-06-2004 08:26 AM
CLOSED - Listings Module Open Beta Brian General Support 10 06-02-2004 09:02 AM
CLOSED - Listings Module Open Beta Brian Other Announcements 0 05-08-2004 11:42 AM



All times are GMT -4. The time now is 02:08 PM.


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 |