slideshow centered in phoca T template

Phoca Templates - templates for Joomla! CMS
bkleine
Phoca Member
Phoca Member
Posts: 14
Joined: 18 Feb 2011, 09:33

slideshow centered in phoca T template

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: slideshow centered in phoca T template

Post 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
If you find Phoca extensions useful, please support the project
carla23
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 10 Aug 2011, 08:57

Re: slideshow centered in phoca T template

Post by carla23 »

Thank you for the link internet marketing tips Jan, very useful :wink:
Post Reply