Page 1 of 1

slideshow centered in phoca T template

Posted: 20 Feb 2011, 12:02
by bkleine
Hi,

when the image/s in the Phoca Gallery Slideshow Noob are less wide than the 990px of Phoca-Wrapper, they appear in the left position of the phoca-slideshow border which is always 990px wide. I have looked into the template/index.php and the module's mod_phocagallery_slideshow_noob.php.

The problem as I see it is that width and height of the image/s are only known in the mod_phoca..noob.php and not in template/index.php. It would therefore strategically straightforward when the border of the slideshow element would not be fixed in index.php but in mod_phoca.php. and the css-information should go from template/css/template.css into mod_phoca..noob/css/style.css.

The width/height information should also be called in the pgnsboxs that is one line above the actual call.

Code: Select all

echo '<div id="pgnsboxs">'. "\n";
	echo '<div id="pgnsboxm" style="width: '.$width.'px; height: '.$height.'px;">'. "\n";
	
	echo '<div id="pgnsbox">'. "\n";
However, when I tried these changes I lost the image. Maybe you are willing to help.

Centering the slideshow appears IMHO an optimization of the template. I am awaiting your response.

Greetings from the Black Forest again White

Bernhard

Re: slideshow centered in phoca T template

Posted: 24 Feb 2011, 00:15
by Jan
Hi, the position for the slideshow in phoca T expects the full size of the images :-(

You can set the height and width of the slideshow in case the module is used on other place than on position-15

You can try to customize it somehow like here described:
https://www.phoca.cz/documents/19-phoca- ... how-plugin

Jan

Re: slideshow centered in phoca T template

Posted: 10 Aug 2011, 09:00
by carla23
Thank you for the link internet marketing tips Jan, very useful :wink: