View Full Version : Updated Module for EasyPHPCalendar Version 6
andi_levinge
07-26-2005, 03:01 AM
Hi Brian!
Was wondering whether your mambo bridge also worked with the listings module?
Can I set the listings module to display on my site?
Andrea
diske52
07-26-2005, 08:00 AM
Andrea,
Please take a look at the following site. http://www.bethlehemcc.org / and click on the Calendar link on the left hand side. Were you reffering to this?
If so, load module to your left side bar, then create a new menu link within main menu, select wrapper, for address specify www.yoursitename.com/modules/escal/printable.php (http://www.yoursitename.com/modules/escal/printable.php).
If this is not what you wanted, please be more specific.
Chuck
flyingMoose
08-19-2005, 12:37 AM
Upload module - Upload Failed
ERROR: Could not find an XML setup file in the package.
[ Continue ... ]
Upload module - Failed
Installation file not found:
/URL/directory/media/install_4305609325339/
note: I put "url/directory", its obvious what that is
please advise
is that the zend or the ion?
because ZEND isn't working for me here on that other thing
Brian
08-19-2005, 09:47 AM
printable.php isn't a module. I believe it should be uploaded to the calendar directory. diske52 (member.php?find=lastposter&t=3157) is the Mambo guru. If this doesn't work, let us know and he should be able to help.
flyingMoose
08-19-2005, 06:15 PM
super duper easy
PhoenixCocker
08-29-2005, 04:17 PM
Andrea,
Please take a look at the following site. http://www.bethlehemcc.org / and click on the Calendar link on the left hand side. Were you reffering to this?
If so, load module to your left side bar, then create a new menu link within main menu, select wrapper, for address specify www.yoursitename.com/modules/escal/printable.php (http://www.yoursitename.com/modules/escal/printable.php).
If this is not what you wanted, please be more specific.
Chuck
I've been trying to get the TOC Calendar to work in the main view and triggered by a link on the side bar (www.alltherighttunes.com), yet the best I have ever gotten so far is it loads the calendar however applies NO CSS Styles to it whatsoever. I have even tried including some inline styles, yet no go. Any suggestions.
-Litos
muskiediver
08-23-2006, 09:40 AM
I am using Mambo 4.5.4. It seems when I apply your mod_escal.zip (downloaded from this page) module to any page all I get is the header and the top part of the box it resides in. The rest of the page is blank.
Do you know what is wrong?
I am using the demo version of EasyPHPCalendar
I am using a seperate database
Your help is kindly appreciated.
ve9gra
08-23-2006, 03:20 PM
You cannot use a different database. You have to use the database that Mambo uses, otherwise it breaks the connection and the rest of your content won't be shown.
oldskule
08-25-2006, 10:32 PM
It should be OK, Even if the calendar database is completely separate from the mambo/joomla DB. We are sucessfully running one inside Joomla, with the module, but from a complete different database.
After easyphpcalendar is ran, the DB connection to the mambo/joomla DB is broken, so it just needs to be reset back and then all the following loading modules should work ok.
mod_escal.php
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
global $mosConfig_live_site;
global $mosConfig_host;
global $mosConfig_user;
global $mosConfig_password;
global $mosConfig_db;
global $mosConfig_dbprefix;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<?php $CSS=1; require ("modules/calendar/calendar.php"); ?>
<?php $OL=1; require ("modules/calendar/calendar.php"); ?>
<table align="center">
<tr>
<td>
<?php require ("modules/calendar/calendar.php"); ?>
<br>
<div style="text-align: center;">[
<a href="<?php echo $mosConfig_live_site;?>/modules/calendar/printable.php" target="_blank">printable calendar</a>]
</div>
</td>
</tr>
</table>
<?
$database = new database( $mosConfig_host, $mosConfig_user, $mosConfig_password, $mosConfig_db, $mosConfig_dbprefix );
?>
ve9gra
08-29-2006, 09:41 PM
Between saying it's not possible or trying to explain how to restablish a database connection for all different types of CMS, I chose the former. ;)
Since the calendar is meant to play nice with others, there's no reason to not put it in the same database as your CMS.
FYI: the link included in the module to the forum topic for help (http://www.EasyPHPCalendar.com/forums/showthread.php?p=5885#post5885) no longer works.
Cawwa
10-17-2006, 04:38 PM
All in here seem to be experts and I garantee I'm not!
I'm now the admin (the origin admin isn't there anymore for us) of our "Mambo site" and try to admin it as good as I can.
Our next project is to implement this calendar into the site. Since we still use the demo for a couple of more days I wanted to try to implement it.
I have allready installed the calendar outside Mambo and got it to work proper.
Questions:
Can I just put all inside that created calendar folder inside the calendar folder sugested when installing mod_epc?
Is it planned to have some kind of guide to make it work proper without editing direct in the files?
Is it better to wait with all this till we get the full version?
ve9gra
10-17-2006, 08:05 PM
1- yes you should, it'll make things easier for you. If you're going to use FTP to transfer the files back-and-forth you should have a look at the online documentation as you'll need to use specific modes for some files (ASCII or Binary)
2- not sure what you mean, but no... the guide is already there
3- full version and demo are the exact same thing... you just enter the licence and you have the full version.
Cawwa
10-18-2006, 01:36 AM
Thx for your answer ... :)
I was a little unpatiace and tryed to move it over. Unfortunatly I managed to do the most wrong so I made a reinstall instead.
2. If there was a guide or parameters to fill in with the integration in Mambo I could change the size easy for the normal table (the small one). Now I'm not able to recise it with editing in the .css file in the theme folder.
ve9gra
10-18-2006, 06:55 AM
The module is only meant to enable you to integrate the calendar into your site. It is not meant to modify the behaviour of the calendar itself. To change the size of the calendar, you have to take the same steps as anyone else who is using the calendar. If modifying the correct values (.mainTable and .navTable) in the esstyle.css does not change the look of the calendar, then it probably means that you have other CSS in your site that's conflicting (ie: td { width:100%; } - this would cause all cells to be 100% wide).
If you want, you can provide us with a link to your installation and we can guide you so you can acheive the look you want.
Cawwa
10-18-2006, 11:05 AM
I'm not sure what you want me to post. Here's the link to the site: http://teamxfr.net
ve9gra
10-19-2006, 06:46 AM
I see that you're using an old module. You should have the latest one (http://www.easyphpcalendar.com/forums/showpost.php?p=18079&postcount=12).
Along with that, add the following to your esstyle.css from the theme you're using. (add it to the top).epc table {
padding: 0px;
width: 175px;
}Change the width to the size you want it to be.
Cawwa
10-19-2006, 10:45 AM
I took the old one away and installed the one you linked to, pasted the code in the top of the esstyle.css in the default folder. ... no results, still the same. I must miss something else.
I change these things in esstyle.css:
/* Main Table Setup Incluidng Date Number Fonts, Size and Color */
.mainTable {
background-color: #FFFFFF;
border: 1px solid #003366;
width: 100px;
}
.navTable {
background-color: #FFFFFF;
border: 0px solid #FFFFFF;
width: 100px;
}
and in your added code:
.epc table {
padding: 0px;
width: 100px;
}
ve9gra
10-19-2006, 01:20 PM
Everything you did was right. I guess your Mambo theme still has some blanket calls modifying all tables. I'm at work right now and don't have my tools with me, but I'll check up on any conflicts once I get home.
Cawwa
10-19-2006, 03:25 PM
Yes I can imagine Mambo does that and that's another problem I have; I can't find a way to set what ever size I want on the frames for the site. It's a matter of fact I have a hard time to understand the logics of Mambo. Well I'm not a programmer, I'm a user with small amount of knoledge of html. I really thought this Mambo was a good thing for me ... :D
I guess my main problem isn't the calendar itself, it's prolly Mambo.
ve9gra
10-19-2006, 06:11 PM
It would seem that the one that conflicts with it is in your mambo theme.table.moduletable, #leftcol table, #rightcol table (line 639)
{
width: 100%;
float: left;
clear: left;
}
Cawwa
10-20-2006, 09:55 AM
I took that code away from the template file. Still the same with the calendar itself but the navbar seem to have the right width.
Cawwa
10-20-2006, 11:20 AM
I've tested a little more. What ever I set the width to in the esstyle.css it don't react, the wiew is still the same.
When I change the value in the Mambo template file the only thing that change is the size of the navbar. The calendar itself don't change size at all.
Looks to me that something in the calendar file over rides the changes in the esstyle.css. Could that be possible?
Cawwa
10-21-2006, 04:15 PM
Since this problem couldn't be solved it looks as this calendar wasn't for us.
ve9gra
10-21-2006, 04:17 PM
EDIT: I guess I just missed you, hopefully you will see this and test it.
Alright... this was a mess... but I'm confident this should fix you up without messing up the rest of the stuff too much...
These are modifications to do to your mambo template
table.moduletable, (line 639)
#leftcol table,
#rightcol table {
x width:100%;
x float:left;
clear:left;
}
#rightcol table.moduletable td (line 716)
{
x padding:5px;
}
The lines with the "x" in front are the ones you have to remove or comment out.
Now, in the esstyle.css file, .epc table { (line 1)
padding: 0px;
width: 161px;
}I've put the width to 161px as it seem to fit well (and you want something that is divisable by 7).
Cawwa
10-21-2006, 07:46 PM
Yes it works ... :D ... thank you very much.
I'm not able to add anything in the text field when to post news any more though, but again hardly the calendars fault ... :)
I have backed up the database and changed in the files the way you discribed above. Could I have done anything wrong in any of those actions?
ve9gra
10-21-2006, 08:03 PM
I highly doubt it. Were you able to add news when the calendar was not quite fitting?
I'm glad the installation worked well! :)
Cawwa
10-22-2006, 06:31 AM
Hmm ... when I come to think of it, the last news was to test this calendar and that was before we tryed to implement it into the site. After that I didn't have any news to write in ... :)
Could it really be coursed of the calendar integration?
I also noticed when I try to edit any news that there is not only the usualy ingress and text fields, it's now several text fields!!
ve9gra
10-22-2006, 01:30 PM
I don't think the calendar would have anything do to with this problem. You could test it by unpublishing the EPC Module to see if stuff returns to normal.
Cawwa
10-24-2006, 02:01 PM
You were right, it wasn't the calendar directly, but indirectly. I installed the wysiwyg editer tinyMCE but couldn't get it to work proper so I just left it there. When I unpublished it in Mambo all were back to normal.
Right now I'm trying to get the big (TOC) mode into our main frame. I've studied the integration help but I must say I still don't know how to fix that in Mambo.
ve9gra
10-24-2006, 03:47 PM
For that to work, most people are using a package like kl_php that allow you to add straight PHP into your articles. Then they create a page with the required PHP to display the TOC.
askmieke
11-05-2006, 04:28 PM
This was soooooo cool. Thank you so much for this mod.
Why aren't you listed at the joomla site... ??
So many people even sell calendars there, and they aren't nearly as good as easy php...// Joomla forum has folks creating some pretty hairy ways to implement ECP.... thanks so much for a great job with the mod and the documentation.
Cawwa
11-17-2006, 10:12 AM
For that to work, most people are using a package like kl_php that allow you to add straight PHP into your articles. Then they create a page with the required PHP to display the TOC.
We tryed that one earlier and managed to get the normal mode working in an article under the News section.
Still we don't understand how to get the TOC to be shown in the main frame in our site.
I might add we have purchased this exelent calendar and have updated it. I have another question in the General-Installetion/Upgrade thread as well ... :D
ve9gra
11-17-2006, 01:28 PM
If you've managed to get a normal mode calendar to show up, all you need to do is add the following just before the require:
$TOC=1;
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.