PDA

View Full Version : Mambo Integration Instructions


Xirtam
03-09-2004, 04:57 AM
For a module version that's compatible with EasyPHPCalendar Version 6 Click Here (http://www.easyphpcalendar.com/forums/showthread.php?t=3456).

Nice work Brian! Long time ago when I was here on your site.

What about integration in the Mambo CMS?
We still need a good calendar and yours is just perfect but it needs some modificatio to fit into Mambo.

Brian
03-09-2004, 10:22 AM
Glad you dropped by again!

Someone else had asked me about Mambo recently. I really want to get a few more features added and the code modified to make it easier to do these types of integration. So, perhaps in the future, this is something I can work on.

gsbe
10-06-2004, 05:40 AM
Yes please - Mambo integration would be the greatest. This calendar is fantastic! I'd purchase in a heartbeat if I could add it to my Mambo sites. Cheers on a beautiful script. Love the suggested template layouts.

diske52
03-01-2005, 11:46 AM
Hey; I saw your reply in both these posts, I've gotten the calendar to work perfectly with mambo, I'm in the process of editing everything and trying to create my own theme.

Check out http://www.e78.org,

the Calendar is added as a module, i can easily place it anywhere. If you really want, you can even delete out the search box on planetfall and add it there, i had it there but band members like it below.

I promise tonight (March 1st) I'll make a nice how-to and upload the mambo calendar module here. Plus i'll explain how I modified other things to get the text to display correctly. And yes, this calendar is awesome ;)

Chuck

diske52
03-01-2005, 12:21 PM
Here is the module for Mambo, along with a quick .txt Tutorial.

The module is a zip file attached at the end of this message. It has been updated here and in other messages. You will Not find an older incorrect version, no worries.

This should help Anyone, I know I would have loved this. If anyone has a problem please post in this thread, so we can quickly make sure this works Perfectly, as Im sure it will! :banana:

Chuck

Below is the text that you can get from within the attached zip file. Enjoy!
-------------------------------------


Using Easily Simple Calendar (E.S.C) v5.7 with Mambo v4.5.1or2
Tutorial made by Diske52, a user at www.easilysimplecalendar.com (http://www.easilysimplecalendar.com/)

http://www.easilysimplecalendar.com (http://www.easilysimplecalendar.com/)
Yes, this is the best calendar anyone can find on the net, and at $15 its definately getting Alot of use by people. Awhile back a guy named Greg quickly put together code to make this module, and I've edited it and explained it below.
This zip file itself is the module you can Browse/Upload into Mambo as a module.
If you want to leave these files as a default setting, the "Only" thing you have to do is install Easy Calendar into the following directory on your Web Server.
-------
1. Create the folder called "escal" off your Modules folder. So the addy looks like:

http://www.yourdomain.com/modules/escal

2. Don't bother doing this with the demo, buy the full version of EasilyCalendar for the cost of a 12pack, download it and follow the instructions, Go through the install, setup, connect, test it out on

http://www.yourdomain.com/modules/escal/demo.php page to verify its all working.

*Yeah I know, it looks Nice, ;) continue

3. Login to the Administrator backend of Mambo, go to Modules, Install, click Browse, find the zip file you got this document from, Upload & Install. It will say Success, unless you bought the 12pack Instead of the Full Version of Easily Calendar ;)

4. Go to Modules, Site Modules, change display at the bottom to 30, find "ES Calendar", Publish it, by default its on the Left, change to your liking.

4. Badda-Boom! Vadda..Ving.. the calendar displays but the text for the dates barely show up! (Nooo!) Its alright, as Brian (The Creator of E.S.C. Explained) ***The tags used by Mambo to display text, override the text for E.S.C!

Alrighty Then. If you want to use the default skin for the Calendar, http://www.yourdomain.com/modules/escal/theme/default/esstyle.css is the file your going to edit. I have a black background, so I wanted my Dates to display White of course. At the Very bottom of the esstyle.css file, you will see

.s2 {
background-color: #EEEEEE;
font-family: Geneva, Verdana, Arial, sans-serif;
font-size: 10px;
}
Add the line color: #000000; (#000000 being black, #FFFFFF being white)
So mine, being black shows
.s2 {
background-color: #EEEEEE;
font-family: Geneva, Verdana, Arial, sans-serif;
font-size: 10px;
color: #000000;
}

Now go and add color: #000000; to .s20, .s21, .s22, .s23, .s24, .s2etc.

Save/Upload/Open that 40oz you Could afford, and Refresh your Main Page. If all is well, you will see a sweet calendar on your site, with pop-up information, and everything.

Yes, you can manually change the colors of the pop-ups, just as i did on www.e78.org (http://www.e78.org/), thats in the popup.css file.
If you have ANY probs, reply to the Mambo Integration post on http://www.easilysimplecalendar.com (http://www.easilysimplecalendar.com/), direct link http://www.easilysimplecalendar.com/forums/showthread.php?p=5885#post5885

::Cheers::
Pass the Info Please,
Diske52/Chuck

magenta
03-02-2005, 09:35 AM
is it possible just to display the events in a listing mode (instead of showing the calendar)?

I'm using Mambo 4.5.2

diske52
03-02-2005, 09:52 AM
Yes, please take a look at the demo; and you will see on the bottom the listview for easy calendar v5.7. As for using this as a module, it looks a little extended to just insert in the sidebar of a mambo template off the bat, however you can place this module say, above or below the content in the main body.

If you would like to see just that, reply to this post and I'll upload escal to a testpage on my server, as I should have right now to show just the basic functions.

:banana: Chuck

magenta
03-02-2005, 12:43 PM
yes, that would be nice. thanks

diske52
03-03-2005, 12:09 PM
I'm creating a second module to do so on my site, if you Only wanted to do it this way on your site, you could juse edit the escal_module I've uploaded. Either way, im creating/testing a second module just for that. Be back with you shortly.

EDit: Alright I've figured it out. To have the listings of the month display somewhere, you can use this new module I've created. However, depending where you want to put it, you have to change the size of the table width. If you want to say, list dates and information at the bottom or top of your page, your looking at probally 300 width for each section, which is orginally 600. (otherwise template is skew'd) The file to modify would be modules/escal/templates/monthly2.php, change the following,
680 to about400, 180 to about150, and 500 to about300. That'll get your table listed for ya.

.tableListings {
width: 680px;
border: 1px solid #006699;
margin: 0px;
padding: 0px;
}
.tableDate {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
width: 180px;
text-align: left;
vertical-align: middle;
font-weight: normal;
padding: 2px;
}
.tableTitle {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #004262;
width: 500px;
text-align: left;
vertical-align: middle;
font-weight: bold;
padding: 2px;
}

This by itself, works great. If you want to have say, Calendar on the Right side bar, And the listing of the calendar at the bottom of your body page, that I am working on right now. Its drawing from the same section of the database, and displacing it in two different sections.. At the moment my brain has only figured out one or the other ;)

Attached is the listing module

Chuck

mstookey
03-06-2005, 03:38 PM
hi, i'm having a problem installing the module into a new install of 4.52. I receive the message:

Upload module- Failed
File /home/stookey/public_html/cms/media/install_422b5a4d960fb/mod_escal.php does not exist!
thanks for any assistance,
marilyn

diske52
03-06-2005, 08:16 PM
4.5.2 I tested as well, but it must have been with a modified file. I tried the same file I uploaded here, and it only worked on 4.5.1.

I tested one of my other creations and it worked for me on 4.5.2 on one of my other sites, so please download this attachment. Sorry for the delay, I have been out shopping all day this sunny sunday.

To use the print calendar feature, take the printable.php file and insert it in your escal directory. When someone wants to print the calendar, its a basic white page with just the information of the dates. Let me know if you have any issues!
Chuck :banana:

mstookey
03-10-2005, 08:24 AM
Thanks for the quick reply! I haven't tried the printing options yet, but it installed fine & looks great.

Do you know if it would be easy to install multiple calendars in one mambo site?

thanks again,
marilyn

diske52
03-10-2005, 11:20 AM
Ahh! I just hit the back button... oh no.. here i go again

1. I recommend you uninstall new module, download updated one from above.

2. Yes you can have multiple calendars, considering you dont just want to display more than one month, which would be easier.

3. Take the mod_escal zip and unzip it to mod_escal2.

4. Open the .xml AND .php file, look for each instance of escal, replace it with escal2.

5. Save the zip file as mod_escal2

6. Use myPHP or the likes and create a new database, (easier) with the same login/pass if you like,

7. Upload the calendar installation to modules/escal2/

8. Run the install wizard, point it to the new database, set it all up.

9. Copy the template files you modified during the tutorial, to the /modules/escal2/templates directory.

10. Upload mod_escal2.zip and place it where ever you need.

11. Enjoy your second calendar ;)

- let me know if you have any issues, I havent done this but I am confident It will work

Chuck :banana:

mstookey
03-10-2005, 11:29 AM
Thanks so much for the info - I'll update & try the multiple calendar thing & let you know how it goes.

ParkingLotParty
03-14-2005, 08:17 PM
I have followed your steps several times, but I cant seem to get the calendar to read the css file. No matter what I do the size and colors stay the same. It just shows a 'pale' looking calendar. Any Ideas?

BTW I am running mambo 4.5.1 and the newest calendar.

thanks Gabe

diske52
03-16-2005, 10:39 AM
I have version 6 working perfectly fine with mambo 4.5.2. I made no changes to view everything correctly.

At first I had issues with shading for events set, and text, but after changing the Mambo template I had created, all is well.

What type of template are you using, is it professionally created or is it one you threw together in Dreamweaver? install the template chooser module for mambo and verify this is the same issue for you, I would bet that its your mambo template you need to modify or change.

I am looking into it to be exact, but as for a guess I would suppose its due to how the properties are set for User1 and 2 tables.

I may find a way to modify my cal theme which will allow it to over-ride the mambo template settings. If I do so, I will upload it so it is available to all mambo users.

Chuck

ParkingLotParty
03-16-2005, 08:05 PM
I am us a theme that was made for me buy a professional. When I get home I will change themes and see if that is the problem.

anthonyaykut
03-18-2005, 09:24 AM
Hi,

On my mambo 4.5.1a install, I get the message "ERROR: Could not find an XML setup file in the package." when I try to install the mod_escal.zip ...

Can anyone help me with this please?

Regards
Anthony

diske52
03-18-2005, 12:40 PM
I'm guessing you downloaded the wrong file or an old version. I deleted an old upload, make sure you just get

mod_escal for mambo 452 with print

Dont bother with the mod eslist

Shouldnt have any problems, I've installed this on 4.5.1a and 4.5.2

Let me know if you got any probs,

Chuck

billingclerk
03-28-2005, 02:55 PM
This set of instructions worked really well. I made a few errors and had to re-upload the files twice, but those were my mistakes. The calendar is now working on my website in Mambo 4.5.2--thanks!

rooster
04-07-2005, 11:38 PM
Hi diske52,

Thank you for your instructions. Very helpful!

Do you have a Mambot that integrates the search of calendar contents into Mambo's search box?

diske52
04-08-2005, 01:01 AM
The main reason I started using a calendar was for a band that plays locally around here, I never thought of searching Months in advance. I've started to go about creating a backend component to handle the easy calendar, but with all my work, dealing with this house, and my girlfriend, And the summer coming, its kind of hard.

I'll research the mambot features, if anyone reading this has some experience, give a shout, might save me some yelling from my girlfriend in the middle of the night why im not in bed! hah

:banana: Chuck

rooster
04-08-2005, 12:16 PM
"Events" has a search mambot I think. Maybe you could tweak it a little?

Anyway, no hurry.

By the way, you could always ask your girlfriend to sleep on your lap while you are at the computer. :p On second thought, that is probably not a very good idea. Might get a bit too distracting... hehe...


:kitty::kitty::kitty:

arnoldot
04-10-2005, 02:50 PM
Hey there, i just installed this mod after having the Easy Calendar for over 4 months still on the zip file, unable to use in for mambo...

Anyway, thanks for creating this mod... i love the features on easy calendar.

However, i do have a problem with the printable calendar, it will just not appear... i get a 404 on mambo (index)
any ideas???

arnoldot
04-10-2005, 03:01 PM
Ignore my previous post, i forgot to upload the printable.php file!

sorry about that/.... hehe:banana:

andr
04-16-2005, 03:11 PM
Thanks diske52 for all of your help.

One thing I would add (or clarify) is the .zip file you need to upload is attached to the instructions post (I tried uploading the version 6 from the site thinking that is what you meant).

I owe you a 12 pack.

Cheers!

diske52
04-17-2005, 01:05 PM
It has been updated, thanks for the tip.

Alot of times when I drink a 12 pack, I'll look at my girlfriend after I've done something questioning, and she always there to provde me with a quick tip as well. I suppose this is a matter of perspective, no?

Thanks, Chuck

andr
04-27-2005, 02:48 PM
Is there a way to have the printable calendar display more than just the current month? How do you get it to display all of the events?

I think it might be in the $LIST, but really have no idea.

diske52
04-29-2005, 12:08 AM
Yes we can show more than one calendar, check out

http://www.resortvacationproperties.com/vacationrentals/details.php?propcode=somefis

he has eh, more than 2 on there ;)

As for a module that would display that, I suppose we could do so, but it would be a seperate module, as you cannot have two of the same installed within mambo. How many months do you want, and where on the page do you want this displayed? In the middle I presume. If so, making a html page, and linking as a wrapper may serve you better.

Chuck

JChampion
05-02-2005, 01:56 AM
Hi,
I'm using the Mambo module (it works great -- thanks very much). However, what I would like to do is to display a weekly events list on a separate page that is linked to a menu selection. Does this require a special component? Is it possible to link a menu item to a module? (I'm a mambo newbie).
Thanks,
John

diske52
05-02-2005, 05:15 PM
Hey newbie, just kiddin ;)

That's easy to do. What you would do is go within the admin backend of mambo, go menu - main menu.

Add New Menu link, select Wrapper Link.

There, specify the location of the printable.php

For example, if i did it, it would be

Location: http://www.e78.org/home/modules/escal/printable.php
Name: Weekly Calendar

Then your done! Lemme know if you have any probs.

Chuck :banana:

andr
05-02-2005, 05:51 PM
Hey Chuck,

How would I go about changing the "Printable Calendar" link to read something else?

Also, I have noticed that the Printable Calendar only links to the current month. Is there a way to have it like to this month and all future events in the DB?

Thanks.

diske52
05-03-2005, 12:53 AM
Hey Chuck,

How would I go about changing the "Printable Calendar" link to read something else?


To change the words "printable calendar" you would have to uninstall the module, open the zip file you downloaded here, and edit the mod_escal.php file. At the end of the file, it says

"target="_blank">printable calendar</a>"

Change the words between > and < to whatever you wish, and re-zip it up, re-install it within mambo. Thats it.


Also, I have noticed that the Printable Calendar only links to the current month. Is there a way to have it like to this month and all future events in the DB?


That would be modifying the printable.php file, using code that Brian has discussed in other forums. Below is the printable code, originally it was called eslist i believe? Anyhow, at the bottom you will see

$LIST=1;
$DF = "D - M d";

And I do not remember off hand, but I believe those are the options for what is displayed. Do a quick search and maybe you'll find it out quicker than I, I've got to run.

Adios,
Chuck


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Easily Simple Calendar Listview</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php $CSS=1; require ("showCalendar.php"); ?>
<style type="text/css">
a:link {
text-decoration: none
}
a:visited {
text-decoration: none
}
a:hover {
text-decoration: underline
}
</style>
</head>
<body>
</td>
<td width="0" align="left" valign="top">
<a name="escOL">&nbsp;</a>
</td>
</tr></table>
<br />
<div align="center">
<?php
$LIST=1;
$DF = "D - M d";
$template="monthly2.php";
require ("showCalendar.php");
?>
</div>
</body>
</html>

Thanks

ve9gra
05-03-2005, 07:18 AM
I think what you're looking for is explained in the instructions.htm..

Add any of these variables just after $LIST=1;

If none of these options are added, the list will display all of the events for the current calendar month.

$listDays = x;
Lists 'x' number of days from Today.

$listWeeks = x;
Lists 'x' number of weeks from Today.

$listMonths = x;
Lists 'x' number of months from the currently displayed Month.

$listYear = x;
List all of the events for year 'x'.

$listEvents = x;
List the next 'x' number of events. You may also want to combine this with $listWeeks = 52; which will show the next 'x' events from today no matter what month is being viewed.

$noOld = x;
Setting 'x' to 1 will not show any event older than today, no matter what settings were used above.

dave_gordon
05-08-2005, 03:50 AM
I'm using the module to display the calendar but having difficulties implementing the custom navigation buttons, which in my case I want to move one year at a time.

The code I'm using is;

<a href="<?php echo $_SERVER['PHP_SELF'].'?option=com_content&task=blogsection&id=6&Itemid=73?mo='.($mo).'&yr='.$yf; ?>">Next&gt;&gt;</a>

I preume the problem is trying to link in with mambo and this not recieving the appropriate parameter strings.


Can anyone please help?

Many thanks in Advance.
Dave

ve9gra
05-09-2005, 09:27 AM
The code I'm using is;

<a href="<?php echo $_SERVER['PHP_SELF'].'?option=com_content&task=blogsection&id=6&Itemid=73?mo='.($mo).'&yr='.$yf; ?>">Next&gt;&gt;</a>

Using this code would give you a URL resembling this

http: // www. address of server .com/somepage.php?option=com_content&task=blogsection&id=6&Itemid=73?mo=3&yr=2006

As you can see, that gives you two "?" in the URI which is invalid. If you replace the "?" I've pointed out in the quote with a "&" it should work (as long as the mambo part of the URL is correct, I'm not familliar with this system at all).

dave_gordon
05-09-2005, 12:05 PM
Thanks for the prompt reply.

It's working better but I'm still having a problem with the calender not updating, but what's strangeis the events list section seems to be working normally.

Could this be because I need to some kind of relaod of refresh to rebuild the calendar?.

The URL to see what's happening is at:
http://www.welsh-luxury-cottages.co.uk/index.php?option=com_content&task=blogsection&id=6&Itemid=73

Kind Regards
Dave

ve9gra
05-09-2005, 02:12 PM
I haven't looked at the mod itself, but if you send me the code to what produces that page, I'm sure I can figure out where to initiate the variables.

And from what I'm seeing, I think you shouldn't pass the month to the command line... The year should suffice.

You can either PM me the code directly, or PM me for an email where to send the code.

dave_gordon
05-09-2005, 03:38 PM
I've PM'd you with the code, which also incorporates the removal of the month' leaving just the year, but this does not seem to make any difference.
Regards
Dave

ve9gra
05-10-2005, 08:28 AM
I've just received the code, and it seems you've done some changes on your website. I'm going to try to emulate what you're going for on my test website and I'll send you the code soon.

ve9gra
05-10-2005, 10:36 AM
I'm PM'ing you now.

By the way, you might want to enable the "Display Empty Rows:" option in the Setup Manager... it will balance your calendar better, making all of the little calendars the same size.

dave_gordon
05-11-2005, 03:10 AM
This man is a star, and Mambo's fully calendered up!
Dave

Bobilino
03-20-2006, 02:51 PM
Referring to the instructions and the 12pack, does this mean that the trial version cannot be integrated into Mambo as a module?

I have tried but it does not seem to want to :-(
Bob

ve9gra
03-21-2006, 11:16 AM
The trial is the same in every way to the paid for version. Anything that is possible with the licenced version is possible with the trial. But after your trial period is over, you'll get a key error and will only be able to display 1 event.

But it is not like another Mambo module. And you have to use the correct integration module... http://www.easyphpcalendar.com/forums/showthread.php?t=3456

The instructions are basically to install the calendar to your /*mambo-root*/modules/ folder using the automatic installer. Then install the module mod_escal.zip using the Mambo Administrator. Optionally, you can upload the php file that's in printable.zip into /*mambo-root*/modules/calendar/

Don't forget to complete the calendar's installation by going to *your-full-www-web-site-com*/modules/calendar/setup/

Bobilino
03-21-2006, 01:06 PM
Maybe I have done something wrong..

I installed EPC using the installer, then installed the mod_escal.zip using the mambo interface, then set up EPC and created a mySQL database for it.

I can log intot he calendar and it works fine on its own, but it does not show up as a mod in Mambo. If I try and install again I get a failure that mod_escal.php already exists and if I am trying to install it a second time. Maybe I have done something backwards?

Should I start over? Should EPC be using the mambo database?

ve9gra
03-21-2006, 06:30 PM
Yes you should be using the mambo db, but your inability to login to the calendar has nothing to do with the database... You will need to use the username/password that you supplied when you setup the calendar, it has nothing to do with your mambo username.

Bobilino
03-21-2006, 10:35 PM
OK. So right now i have two mySQL databases... one is mambo1 and the other is epcalendar. So I should tell the calendar to use the mamb1 database and just add its table to it?

Then re-install epc module into mambo?

Bobilino
03-22-2006, 04:14 PM
well, I have it installed, and it showsupon the page but cannot edit it through a mambo publisheruser?

does this mean all the calendar events are done through the calendar interface, and Mambo just displays them? Or am I missing something?

ve9gra
03-23-2006, 07:56 AM
No you are right... everything is done through the Calendar's own interface.

roboticsguy1988
04-05-2006, 02:54 PM
How would i make a component to include this calendar? Like for instant i just want to make a component that users can switch between List Mode, Text On Calendar Mode, and Blog Mode. I have the calendar installed under a folder called "calendar" in the mambo root. I already know how to redirect the module to point to the correct folder and make that work. But what i really want to know how to do is make the component. With using the mambo wrapper i get ugly scroll bars on the page...

ve9gra
04-06-2006, 10:37 AM
I beleive kl_php has the highest rate of success for integration.

roboticsguy1988
04-06-2006, 02:11 PM
Very nice mambot. However the only problem i see is when you use like for instance text on calendar mode. It will go over the tables width. The calendar is then kind of floating above the web page. My solution to this is Get a template that takes up more of the page width. However that would only solve for users with my resolution. If a user had for instance 800 X 600 the calendar would once again be floating above the site.

ve9gra
04-06-2006, 08:58 PM
The easy way to fix this is to set the TOC width to 100% in the CSS... it will the resize itself. Should work better for you.

roboticsguy1988
04-07-2006, 02:21 AM
Ok, i have used it and i must report great success. I am going to work on it and put some final touches on it and give you guys a link. Its pretty simple i modified my template file in mambo and changed some other things. Its hard to explain but if anyone likes it after i post the link i can try to explain it.

BTW, while i am posting is there a difference between installing the trial version and entering in the serial number verses buying the calendar with name and copyright removal? If so would it be a big enough difference to mess up the mambo integration if i have to uninstall and then reinstall the calendar?

ve9gra
04-07-2006, 07:44 AM
There is absolutely no difference. The script will know automatically whether or not to display the copyrights just by the licence you enter.

roboticsguy1988
04-07-2006, 02:00 PM
Ok, kool, thanks for the help guys.

jaadams
02-19-2007, 04:09 PM
Here is the module for Mambo, along with a quick .txt Tutorial.

The module is a zip file attached at the end of this message. It has been updated here and in other messages. You will Not find an older incorrect version, no worries.

This should help Anyone, I know I would have loved this. If anyone has a problem please post in this thread, so we can quickly make sure this works Perfectly, as Im sure it will! :banana:

Chuck

Below is the text that you can get from within the attached zip file. Enjoy!
-------------------------------------


Using Easily Simple Calendar (E.S.C) v5.7 with Mambo v4.5.1or2
Tutorial made by Diske52, a user at www.easilysimplecalendar.com (http://www.easilysimplecalendar.com/)

http://www.easilysimplecalendar.com (http://www.easilysimplecalendar.com/)
Yes, this is the best calendar anyone can find on the net, and at $15 its definately getting Alot of use by people. Awhile back a guy named Greg quickly put together code to make this module, and I've edited it and explained it below.
This zip file itself is the module you can Browse/Upload into Mambo as a module.
If you want to leave these files as a default setting, the "Only" thing you have to do is install Easy Calendar into the following directory on your Web Server.
-------
1. Create the folder called "escal" off your Modules folder. So the addy looks like:

http://www.yourdomain.com/modules/escal

2. Don't bother doing this with the demo, buy the full version of EasilyCalendar for the cost of a 12pack, download it and follow the instructions, Go through the install, setup, connect, test it out on

http://www.yourdomain.com/modules/escal/demo.php page to verify its all working.

*Yeah I know, it looks Nice, ;) continue

3. Login to the Administrator backend of Mambo, go to Modules, Install, click Browse, find the zip file you got this document from, Upload & Install. It will say Success, unless you bought the 12pack Instead of the Full Version of Easily Calendar ;)

4. Go to Modules, Site Modules, change display at the bottom to 30, find "ES Calendar", Publish it, by default its on the Left, change to your liking.

4. Badda-Boom! Vadda..Ving.. the calendar displays but the text for the dates barely show up! (Nooo!) Its alright, as Brian (The Creator of E.S.C. Explained) ***The tags used by Mambo to display text, override the text for E.S.C!

Alrighty Then. If you want to use the default skin for the Calendar, http://www.yourdomain.com/modules/escal/theme/default/esstyle.css is the file your going to edit. I have a black background, so I wanted my Dates to display White of course. At the Very bottom of the esstyle.css file, you will see

.s2 {
background-color: #EEEEEE;
font-family: Geneva, Verdana, Arial, sans-serif;
font-size: 10px;
}
Add the line color: #000000; (#000000 being black, #FFFFFF being white)
So mine, being black shows
.s2 {
background-color: #EEEEEE;
font-family: Geneva, Verdana, Arial, sans-serif;
font-size: 10px;
color: #000000;
}

Now go and add color: #000000; to .s20, .s21, .s22, .s23, .s24, .s2etc.

Save/Upload/Open that 40oz you Could afford, and Refresh your Main Page. If all is well, you will see a sweet calendar on your site, with pop-up information, and everything.

Yes, you can manually change the colors of the pop-ups, just as i did on www.e78.org (http://www.e78.org/), thats in the popup.css file.
If you have ANY probs, reply to the Mambo Integration post on http://www.easilysimplecalendar.com (http://www.easilysimplecalendar.com/), direct link http://www.easilysimplecalendar.com/forums/showthread.php?p=5885#post5885

::Cheers::
Pass the Info Please,
Diske52/Chuck
Chuck,

Hi, I'm a new to both Mambo (version 4.6.1) and easysimplephpcal (6.3.24) I followed your instructions - but having difficulty. The module does not show up in the list after installation (using the universal installer) Right now I'm trying some manual procedures, any advice?

JAA

ve9gra
02-20-2007, 07:39 AM
FYI, his issues were with a web server not allowing to upload modules for installation. Did a manual module install and properly configured the calendar, and everything is fine now.

James, if you are having problems publishing the calendar, let me know.

countrymac
06-22-2007, 01:09 PM
I beleive kl_php has the highest rate of success for integration.

I just purchased the full blown version of easyphpcalendar and have been trying to fine tune the printable version. I am running Joomla 1.0.12 and I have downloaded and installed the mod_escal version 1.0.0 and uploaded the printable.php to the installed directory of /public_html/modules/calendar/

I have been trying to get the printable.php to display the ToC (text over calendar) but have been unsuccessful so far. (I'm sure it is a lack of knowledge on how on my part).

I recently installed the kl_php to help me get there but no luck with that either. I created a content item called calendar and then just entered the following code (after I installed and published the kl_php bot)
{kl_php}include('modules/calendar/calendar.php'); {/kl_php}
also tried
{kl_php}
<?php
$TOC=1;
require ("modules/calendar/calendar.php");
?>
{/kl_php}
Any suggestions?

ve9gra
06-22-2007, 04:48 PM
To tell you the truth, I've never installed KL_PHP myself... But the printable.php should just work. There's no configuration needed for it, just upload-n-play.

Have a URL to your installation so I can check it out?

countrymac
06-22-2007, 05:32 PM
My goal would be when anyone clicks on "Printable Calendar" that it brings them to the Text Over Calendar version to print. Not a big fan of just the events. I actually wouldn't mind the blog version either which shows small version of the calendar and the individual events.

My website is http://www.hosang.org

Of course a future want would be somehow to integrate my Community Builder component so my registered users could post events.

ve9gra
06-22-2007, 10:31 PM
Edit your printable.php file. At line 29 you'll find the following <?php
$LIST=1;
$DF = "D - M d";
$template="monthly.php";
require ("calendar.php");
?> Replace that bit of code with this <?php
$TOC=1;
require ("calendar.php");
?>

countrymac
06-25-2007, 08:25 AM
Edit your printable.php file. At line 29 you'll find the following <?php
$LIST=1;
$DF = "D - M d";
$template="monthly.php";
require ("calendar.php");
?> Replace that bit of code with this <?php
$TOC=1;
require ("calendar.php");
?>

That worked like a charm! :clap: Thank You. Do you happen to know the code to give it that blog feeling they show in the demo? That would be fun to experiment with also, if you have it.

Thanks again

ve9gra
06-25-2007, 04:23 PM
All of that code is in the Online Documentation (http://docs.easyphpcalendar.com/). Look for the Integration section.

countrymac
06-25-2007, 05:02 PM
The instructions did help (even though I never realized they were for the printable.php file.

I used a combination of two of them to come up with what I was looking for.
<?php
$LIST=1;
$DF = "D - M d";
$template="monthly.php";
require ("calendar.php");
?>
<?php
$EPCBLOG=1;
require ("calendar.php");
?>
This displays all the events for that month in a blog type format with a mini calendar for reference. (it looks pretty clean and you can still scroll through months while updating all events for the month.. very cool)

My next task to tackle is somehow work the login for easyphpcalendar with the joomla database for users (for instance I am using Community Builder but it syncs with any other program that is integrated with my website).... any idea's on how to allow users of my website to post events?

ve9gra
06-25-2007, 08:10 PM
If you're not actually using the 2nd part of the Blog, just use the regular calendar (delete the $EPCBLOG line).

About letting users post events... the problem with doing that is that any and every users will have full rights to all events.... add/delete/modify... version 7 will allow you to limit their rights.

countrymac
06-25-2007, 10:15 PM
I'm okay with letting all "registered users" full rights (I suppose its better then nothing which is what they have now).

If you ever need beta testers for the new version I am more then willing to become a tester for version 7.

http://www.hosang.org

Are there instructions on how to allow all registered users access to create/modify/delete events for the current version? I would really like that capability right now.

ve9gra
06-26-2007, 07:03 AM
Make a link that only your registered users can have access to and use this format with it.

https://www.easyphpcalendar.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=31

countrymac
06-26-2007, 08:12 AM
Thank you very much for your help. I believe I have gone as far as easyphpcalendar is allowing me to go right now (which is pretty far). I like it much better then [another calendar] which is what I was using previously.

I just have two requests before I have a complete solution for my calendar/events

1.) utilize the registered user id's to add events (if a plugin existed for Community Builder so you can go to there profile and see what events they added, that would be very cool)

2.) add the search feature from the main website. So if I searched for a keyword from the Joomla website it would also query the events in the calendar.

Great work so far and thank you very much for your help in making this work for me.

ve9gra
06-26-2007, 05:15 PM
You might want to add those to the Feature Request forum, but keep in mind that version 6 is now in feature-freeze.