View Full Version : Mouse Over Not Working in PHP Nuke Module
dhodges
07-29-2007, 09:41 PM
I have read through the forum and have got the Calendar to show up under the PHP-Nuke Module, but I can not get the Mouse-over function to work for the Module.
I am using PHP-Nuke 7.9
Can someone help me with the mouse-over to add events to my calendar?
ve9gra
07-30-2007, 07:32 AM
The PHP-Nuke module comes configured for the calendar to link to the TOC module with $epcAltLink set. If you don't want that behaviour, open /blocks/block-Calendar.php and find //makes the whole calendar point to a TOC link
unset($epcAltLink); $epcAltLink="modules.php?name=Calendar";and comment out the second line.
dhodges
08-11-2007, 05:28 PM
I have already done that. The Calander shows up under PHP-Nuke great. The Problem that I am having is that you can not add an event to the calendar by "Mousing over"/clicking on the Day. If I go direct to the calander event Manager and add an event then the "Mouse Over" works for that event in the module.
I guess that the real problem is that I have not way to add an event through the PHP-Nuke Module. I have to go the the event Manager and login there.
thanks for your help.
Brian
08-11-2007, 09:56 PM
That's what the Event Manager is for... You need to use it to manager the events and not the regular calendar.
ve9gra
08-12-2007, 11:03 PM
The EPC-Nuke module was never meant to let you enter events from PHPNuke... You always have to use the Event Manager for that.
IdealConcepts
09-26-2007, 02:08 PM
Thank you VERY much for the help, the post by ve9gra solved just about all of our issues.
We have one remaining issue, and that is if we have EPC in both a Block, and in a Module on the same page (the small version and large version of the calendar both showing on the same page), we get a script error in IE 6 & 7 when we mouse over a day which has an event on it. This error does NOT happen in Firefox, Firefox is working perfectly.
Here is the errors we get (2 in a row on a mouse over of an event):
Error 1:
Line: 182
Error: Object doesn't support this property or method
Code line breaking on:
}else if(typeof over.innerHTML!='undefined'){if(olIe5&&isMac)over.innerHTML='';over.innerHTML=txt;}else{r ange=o3_frame.document.createRange();range.setStar tAfter(over);domfrag=range.createContextualFragmen t(txt);
Error 2:
Line: 190
Error: 'undefined' is null or not an object
Code line breaking on:
theObj.visibility='hidden';theObj.top=theObj.left= ((olIe4&&!olOp)?0:-10000)+(!olNs4?'px':0);
It is very important to note that these errors only happen on mouse over of an event, only in IE browsers, and only when I have both the small calendar and the large calendar on the same page (in a block and in a module respectively). In IE, if I have only one or the other on the page, there are no errors.
Thanks Much!
John Pequeno
iWebQuotes.com - Affordable Health Insurance Quotes (http://www.iWebQuotes.com)
ve9gra
09-26-2007, 09:17 PM
This other post talks about those exact same errors...
http://www.easyphpcalendar.com/forums/showthread.php?t=7211
IdealConcepts
09-26-2007, 11:17 PM
Yep! That's my partner! thanks much! Really appreciate the help!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.