PDA

View Full Version : Mouse over in block..


sgroom
05-24-2007, 10:46 AM
I've been very impressed, got this installed and working in PHP-Nuke 8.0 without too much trouble. The forums have been very helpful.

Two, hopefully minor, issues...
- Is it possible to resize the block output? It's a bit large for a rightside block and a simple size= change doesn't help much...

- Mouse over in block...
I've been reading and I'm not sure what would apply as a fix here...

Any insights wouldbe appreciated...

I've purchased the full version, just waiting on order number details via email...

ve9gra
05-24-2007, 07:33 PM
- To resize the block, edit /calendar/theme/default/esstyle.css and change the width under both .mainTable and .navTable.

- Have you enabled mouse-overs in the Setup Manager? Have a link to your installation?

PS: I've split your post from the thread because it was almost 1½ years old.

sgroom
05-25-2007, 07:54 AM
Mouse-overs are enabled and working within the module but not on the block...

installed at http://www.wood-ridge.net

Thanks in advance :)

Code Snips Below-
block-Calendar.php

<?php
if (eregi("block-Calendar.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
ob_start();
echo "<table width=\"100%\"><tr><td><div align=\"center\">";
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
$thisFile="index.php";
}
//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");
echo "<small><i>use arrows to navigate</i></small><br>";
echo "<small><i>click dates to go to calendar</i></small>";
echo "</div></td></tr></table>";
$content = ob_get_clean();
?>


partial config.inc.php

$popupDateTitle="F j, Y";
$popupDateFooter="m-d";
$popupDateSeparator="::";
$standardPop="1";
$popupWidth="250";
$popupHeight="220";
$overLIB="1";
$ol_width="200";
$ol_delay="100";
$ol_fgcolor="FFFFFF";
$ol_bgcolor="AAAAAA";
$ol_sticky="0";
$ol_offsetx="10";
$ol_offsety="10";
$ol_fixx="0";
$ol_fixy="0";
$ol_border="1";
$ol_anchor="0";

sgroom
05-25-2007, 10:23 AM
I figured it out...

commenting out the TOC link line in block-Calendar.php fixed it...

Thanks again for your help...

If you'd like details with regard to phpnuke8, let me know...

ve9gra
05-25-2007, 02:25 PM
You mean the line about $epcAltLink. It doesn't actually have anything to do with TOC, it's just that for the Nuke module, the link is set to redirect you to the TOC calendar... And I keep forgetting that it disables the popups.

sgroom
05-25-2007, 03:00 PM
well, it works very well and I'm quite happy with it.. thanks for your help and feel free to hit me up with nuke8 issues.. I'll check back periodically