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


Go Back   Easy PHP Calendar > Integration > PHP-Nuke Integration

PHP-Nuke Integration Information about integrating the calendar with the PHP-Nuke Content Management System.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Mouse over in block
Old 01-20-2006, 07:40 AM   #1
pata
Calendar User
 
pata is offline
Join Date: Jan 2006
Posts: 5
Question Mouse over in block

Were do i put

<?php $OL=1; require("calendar/calendar.php"); ?>

in a phpnuke 7.6 site to get mouseover function to work .

I have the block to show on my site but thats all.
any help would be great, been looking on zola´s page and i really would like something like that.

/pata
 

Old 01-20-2006, 10:57 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

You can add the $OL section in your block, right before the call to require the calendar.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-20-2006, 11:39 AM   #3
pata
Calendar User
 
pata is offline
Join Date: Jan 2006
Posts: 5
Default

I use this code in the block (found here)
Code:

<?php
if (eregi("block-Calendar.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
ob_start();
//required if you're going to use overLib
$OL=1; require ("calendar/calendar.php");
//makes the whole calendar point to a TOC link
//unset($epcAltLink); $epcAltLink="modules.php?name=Calendar";
//the line that shows the calendar 
require ("calendar/calendar.php");
$content = ob_get_clean();
?> 
Should this work ? it shows the calender but i get error message in left corner of IE when moving mouse over an event.

The demo.php works fine (http://www.pata.se/calendar/demo.php)
But not this block (http://www.pata.se)

/pata
 

Old 01-20-2006, 11:44 AM   #4
pata
Calendar User
 
pata is offline
Join Date: Jan 2006
Posts: 5
Default

the one click mouse funtion is working
so its only mouse over thats not working

/pata
 

Old 01-20-2006, 03:27 PM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

If you follow the instructions indicated in this post you should be able to get it going. (step #3 is optional - the module can be found in the same thread at this post).
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-21-2006, 06:24 AM   #6
pata
Calendar User
 
pata is offline
Join Date: Jan 2006
Posts: 5
Default

I´m pretty sure i followed those instructions.
I tested the page with Mozilla Firefox 1.5 and then mouse over popup works perfectly, but when using IE 6.0 only one click will work mouse over only indicates an error. Any ideas? Something with my nuke setup ?

/pata
 

Old 01-21-2006, 07:52 AM   #7
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

The calendar is not the problem here. You have several <head> tags sprinkled all over your page. Actually, 4 to be exact. This breaks many standards. Also, you have several problems with your CSS...

Error: Expected color but found '#'. Error in parsing value for property 'background'. Declaration dropped.
Source File: http://www.pata.se/themes/Callofduty2/style/style.css
Line: 217

Error: Expected ',' or '{' but found '0.1'. Ruleset ignored due to bad selector.
Source File: http://www.pata.se/themes/Callofduty2/style/style.css
Line: 428

Error: Expected ',' or '{' but found '0.2'. Ruleset ignored due to bad selector.
Source File: http://www.pata.se/themes/Callofduty2/style/style.css
Line: 440

Error: Error in parsing value for property 'background'. Declaration dropped.
Source File: http://www.pata.se/
Line: 864

This is only a few of the errors that popped up when I went to your site... And all the code related to the calendar is all fine and coded properly. It's the other scripts that you need to check out.

PS: These line numbers were calculated using Firefox with the Web Developer's Toolbar.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-21-2006, 09:01 AM   #8
pata
Calendar User
 
pata is offline
Join Date: Jan 2006
Posts: 5
Thumbs up

Thanks for the tip got it working now, it was the squery block that made it not to work, by turning it off calender works great.

Thanks for yor super support
And a great product
 
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
Calendar Block help Beta3 PHP-Nuke Integration 26 07-26-2006 04:02 PM
Block css issues... ThePolo PHP-Nuke Integration 16 07-26-2006 03:59 PM
Only one event in mouse over and popup on click mvoelkening General Support 3 03-17-2005 02:39 PM
Listing Module As Nuke Block ddj0891 General Support 1 02-10-2005 06:02 AM
Mouse over problem dshington General Support 7 03-24-2004 06:51 PM



All times are GMT -4. The time now is 06:19 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 |