PDA

View Full Version : J2EE Wrapped Calendar


lmorroni
12-07-2006, 09:33 AM
Hello,
We just finished a project that implemented Easy PHP Calendar. It's a sweet little app you built here. Very simple and very flexible. We took the php app and wrapped it using Sitemesh/J2EE technology so that it could integrate nicely into our site. The whole process worked out much nicer than I expected. The only drawback is that I can't get overlib to work with it. Here's a link for anyone interested: http://visitmediapa.com/

Larry

triadib
12-08-2006, 02:00 PM
Did you read my post?

It's a solution which I posted in the Joomla section but in my opinion this should work in any other environment.
Give it a try...

edit calendar.php in line 95:


echo "<div id=\"overDiv\" style=\"position:absolute; visibility:hidden; z-index:1000;\"></div><script type=\"text/JavaScript\" src=\"".$urlPath."overLIB/".$olFileName."\"><!-- overLIB (c) Erik Bosrup --></script>";
if ($ol_anchor==1) echo "<script src=\"".$urlPath."overLIB/overlib_anchor.js\"></script>";
}

into

echo "<div id=\"overDiv_epc\" style=\"position:absolute; visibility:hidden; z-index:1000;\"></div><script type=\"text/JavaScript\" src=\"".$urlPath."overLIB/".$olFileName."\"><!-- overLIB (c) Erik Bosrup --></script>";
if ($ol_anchor==1) echo "<script src=\"".$urlPath."overLIB/overlib_anchor.js\"></script>";
}


With this any conflicts with existing modules should be solved and you can use $OL=1 for popups AND $CSS=1 too for using epc-CSS settings.

Best regard from Germany
Dirk

p.s.: @Brian: perhaps it is worth for a sticky post

lmorroni
12-08-2006, 03:08 PM
I love progress. I greatly appeciate you responding to me. I added your fix and it worked like a charm. This calendar kicks ass.