Re: Remove Overlib Title
Posted: 20 Jan 2012, 21:48
For me, what worked is editing view.html.php within views/category.
You'll see a switch statement in there:
switch ($enable_overlib) {
and what I removed was this:
". htmlspecialchars( addslashes($items[$iS]->title))."
From the "case 4" statement. this in essence removes the caption from the overlib box. So you'll be left with:
$items[$iS]->overlib_value = " onmouseover=\"return overlib('".htmlspecialchars( addslashes('<div class="pg-overlib"><center>' . $oImg . "</center></div>" . $uBy ))."', CAPTION, '', BELOW, RIGHT, BGCLASS,'bgPhocaClass', FGCOLOR, '".$this->tmpl['olfgcolor']."', BGCOLOR, '".$this->tmpl['olbgcolor']."', TEXTCOLOR, '".$this->tmpl['oltfcolor']."', CAPCOLOR, '".$this->tmpl['olcfcolor']."');\""
. " onmouseout=\"return nd();\" ";
You'll see a switch statement in there:
switch ($enable_overlib) {
and what I removed was this:
". htmlspecialchars( addslashes($items[$iS]->title))."
From the "case 4" statement. this in essence removes the caption from the overlib box. So you'll be left with:
$items[$iS]->overlib_value = " onmouseover=\"return overlib('".htmlspecialchars( addslashes('<div class="pg-overlib"><center>' . $oImg . "</center></div>" . $uBy ))."', CAPTION, '', BELOW, RIGHT, BGCLASS,'bgPhocaClass', FGCOLOR, '".$this->tmpl['olfgcolor']."', BGCOLOR, '".$this->tmpl['olbgcolor']."', TEXTCOLOR, '".$this->tmpl['oltfcolor']."', CAPCOLOR, '".$this->tmpl['olcfcolor']."');\""
. " onmouseout=\"return nd();\" ";