Page 1 of 2

Hi there,

Posted: 07 Mar 2008, 03:14
by NikonUser
Hi there,

I have just discovered this Joomla plugin and it is very close to what I am looking for. Great work!

However I am having just one small problem at the moment...

I would like to be able to resize the modal box to fit my site better but can't seem to do it. I have tried changing the size in the paramteres but it has no effect at all. I've also tried editing the view.html.php file but it also doesn't seem to have any results.

Can anyone help me resize the modal box?

Thanks
Paul

EDIT: On more invest

Posted: 07 Mar 2008, 03:41
by NikonUser
EDIT: On more investigation it seems that none of the color options in the parameter settings are working either.... maybe this is related to not being able to resize the modal box?

What is the file where the parameters are stored so I can take a look?

Thanks
Paul

EDIT: (again, sorry)

Posted: 07 Mar 2008, 04:17
by NikonUser
EDIT: (again, sorry)

I've now installed the plugin so I can add the gallery into content items.... It seems that the parameters work correctly in there, but not in the componant.

Any ideas??

Paul

Try to set parameter

Posted: 07 Mar 2008, 09:26
by jjd
Try to set parameters in menu settings (Main Menu* -> Gallery (or what is the name of link tho phoca component) -> Parameters).

Nope, doesn't s

Posted: 07 Mar 2008, 09:29
by NikonUser
Nope, doesn't seem to help.

I have done some hacking of the code in the view.html.php file (hard coded the sizes) and it's working for now.

The parameters work for the Admin and Plugin views, but not the componant itself. Weird.

Also, the colours (eg Modal border colour, or Modal border size) still have no effect

Paul

Posted: 07 Mar 2008, 09:54
by Jan
You don't need to hack the code... All this you can do in component parameters:

in Default settings, BUT if you create a menu link (as jjd wrote), you must change the parameters in parameters component, because these parameters override the default settings...

Be aware, there is a categories view and category view... If you go into your gallery through categories view, you must change the parameters in categories view menu link, if you go into your gallery through category view, you must change the parameters in category view menul link....

Some non standard browsers like IE doesn't support some modal box function...

Jan

I seriously don'

Posted: 07 Mar 2008, 10:26
by NikonUser
I seriously don't know what I'm doing wrong here

I've played around with the settings in the menu item parameters but the only way I can get it to work is by hard coding the iFrame x and y size into the code. All the other settings I change don't seem to do what I would expect.

I know it must be something I am doing wrong but I just can't figure it out. Usually I get these things working after so much playing!

Paul

try to clean your br

Posted: 07 Mar 2008, 10:29
by Jan
try to clean your browser cache after the changing...

Jan

Still no luck.

Posted: 07 Mar 2008, 10:51
by NikonUser
Still no luck.

I have changed the front modal height to 650 on both the componant parameters and in the menu parameters.

When I click on the image the modal box is only 550px or so (measured using photoshop). There is no value anywhere in any settings that says 550 that I can find!)

Chainging the setting to 800 (or any other value) has no effect at all.

if it helps at all you can see what I mean here:
http://www.australiannaturephotography. ... -bugs/bugs

Paul

Hi, this is in your

Posted: 07 Mar 2008, 11:00
by Jan
Hi, this is in your HTML code:


rel="{handler: 'iframe', size: {x: 850, y: 555}, overlayOpacity: 0.8}" >



so the parameters are working... and the modal box is larger as standard Phoca Gallery modal box...