1.8.1 not work correctly
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 1.8.1 not work correctly
it can be cuased by collision between template and module, so there must be done some changes in template css or change the template to some standard ...
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 01 Aug 2008, 10:32
Re: 1.8.1 not work correctly
Hi,
replace <div> on <table>
But i can't do shadow from table =(
replace <div> on <table>
Code: Select all
//--301 /*if ( $image_background_shadow != 'none' ) {
$boxImageHeight = $boxImageHeight + 18;
$imageWidthBg = 118;
$imageHeightBg = 118;
}*/
if ($phocagallery_module_width !='') {
$output[$i] .= '<div style="width:'.$phocagallery_module_width.'px;text-align:center;">';
}
$output[$i] .= '<div class="phocagallery-box-file" style="height:'.$boxImageHeight.'px; width:'.$boxImageWidth.'px">' . "\n";
$output[$i] .= '<center>' . "\n"
.'<table style="height:'.$imageHeightBg.'px;width:'.$imageWidthBg.'px; border:1px solid #BABABA;">'. "\n"
.'<tr><td>' . "\n"
// // .'<div class="phocagallery-box-file-third">' . "\n"
.'<center>' . "\n"
.'<a class="'.$button->methodname.'" title="'.$valueImages->title.'" href="'. JRoute::_($valueImages->link).'"';
if ($detail_window == 1) {
$output[$i] .= ' onclick="'.$button->options.'"';// Standard Popup window
}
else {
$output[$i] .= ' rel="'.$button->options.'"';// Modal box
}
$output[$i] .= ' >' . "\n";
$output[$i] .= '<img src="'.JURI::base(true).'/'.$valueImages->linkthumbnailpath.'" alt="'.$valueImages->title.'" width="'.$imageWidth.'" height="'.$imageHeight.'" />';
$output[$i] .= '</a>'
.'</center>' . "\n"
// // .'</div>' . "\n"
.'</td></tr>' . "\n"
.'</table>' . "\n"
//--333 .'</center>' . "\n";
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 1.8.1 not work correctly
then you should change the css too...
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 14
- Joined: 05 Aug 2008, 14:11
Re: 1.8.1 not work correctly
for the problem with the not vertically centered image see my post HERE
There should be a bugfix release I guess
There should be a bugfix release I guess
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 1.8.1 not work correctly
the s is fixed in 1.8.1
If you find Phoca extensions useful, please support the project