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
Modal Box Size
-
- Phoca Newbie
- Posts: 9
- Joined: 07 Mar 2008, 03:11
- Location: Australia
- Contact:
-
- Phoca Newbie
- Posts: 9
- Joined: 07 Mar 2008, 03:11
- Location: Australia
- Contact:
EDIT: On more invest
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
What is the file where the parameters are stored so I can take a look?
Thanks
Paul
-
- Phoca Newbie
- Posts: 9
- Joined: 07 Mar 2008, 03:11
- Location: Australia
- Contact:
EDIT: (again, sorry)
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
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
-
- Phoca Member
- Posts: 25
- Joined: 28 Feb 2008, 18:16
- Location: Bulgaria
Try to set parameter
Try to set parameters in menu settings (Main Menu* -> Gallery (or what is the name of link tho phoca component) -> Parameters).
-
- Phoca Newbie
- Posts: 9
- Joined: 07 Mar 2008, 03:11
- Location: Australia
- Contact:
Nope, doesn't s
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 07 Mar 2008, 03:11
- Location: Australia
- Contact:
I seriously don'
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
try to clean your br
try to clean your browser cache after the changing...
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 07 Mar 2008, 03:11
- Location: Australia
- Contact:
Still no luck.
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Hi, this is in your
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...
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...
If you find Phoca extensions useful, please support the project