Modal popup box does not work

Phoca Gallery plugins - plugins for Phoca Gallery extension
marcl
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 02 Feb 2008, 22:50
Location: Netherlands
Contact:

Ok, thanks Jan. It m

Post by marcl »

Ok, thanks Jan. It meens i will look for another template wich will make de modal box work properly!

thanks for all the effort.

marc
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

I think, it will be

Post by Jan »

I think, it will be better, because Phoca Gallery is not the only one which use the Modal box behaviour in Joomla
If you find Phoca extensions useful, please support the project
Jimme
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 14 May 2008, 14:17

Hi Jan and anyone el

Post by Jimme »

Hi Jan and anyone else,

on my page same Prob occured:
http://www.gesangverein-jedesheim.de/in ... w=category& id=8&Itemid=89

but i don't belive, that the template is the reason for.
i've tried different templates - and no one works (including the templates basically installed by the Joomla-Framework).

i think another modul or component "destroy" something.

Question to everybody: is somebody of you, using the "Ajax shoutbox" or the "Turtu Shoutbox" - i think, one of them is responsible for the prob.

i think of remembering, that the Modal worked well untill installing a shoutbox - but of course i can be wrong.

Has somebody tryed ever to restore the modal.* files from the original joomla installation?

Jimme
Jimme
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 14 May 2008, 14:17

one maybe interestin

Post by Jimme »

one maybe interesting thing additionally:
modal box in the backend works well

Jimme
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

if the modal box wor

Post by Jan »

if the modal box works well in backend, it means, that in backend there is no extension which will cause problems with modal box ... mostly the uninstalling some extension (component, module, plugin) will solve this problem ... the problem can be caused by overwritting standard modal box class with some extendend class.. but this will cause problems for all items which should use the standard modal box class...

Jan
If you find Phoca extensions useful, please support the project
dresden
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 14 May 2008, 16:54
Location: Germany

Hello,I

Post by dresden »

Hello,

I have the same problem. Interestingly enough, it only occurs when using the plugin, meaning a menu entry showing a phoca gallery category works absolutely fine with modal box etc. Here you can see what I mean:
with Plugin
on menu
Also logging in as described before doesn't change anything.
Since it only occurs when used in a content article I thought it might have something to do with other content plugins. I have already uninstalled the moobot and replaced /media/system/modal.css (and the entire /media/system folder) with the original file from the package in case something had been changed.
Apart from the standard content plugins I have the following installed:
- Content - XTypo
- DefinitionBot
- Google Maps
(Of which none I think use modal boxes)
Also: switching to standard popup box doesn't do the job, plugin still opens in same frame full size. Can't be template either since it dosn't even work with joomla standard template.
@Jimme: I use none of the components you asked about.

Anybody got an idea? I am running out of ideas. Would be the perfect component...

Thanks in advance

Tina
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

On my site there is

Post by Jan »

On my site there is this one too:
<script type="text/javascript" src="/joomla/includes/js/joomla.javascript.js"></
script>


Try to add into template...

and try to change the path, some css and js have the full path:
<script type="text/javascript" src="http://www.mhbecker.eu//modules/mod_swmenupr
o/moo.fx.js"></script>

but the modal not:
<script type="text/javascript" src="/media/system/js/modal.js"></script>


I think, it should be not the problem, but try to test it...

If there is no conflict in modal, there can be wrong path to css ar js of the modal box ???
If you find Phoca extensions useful, please support the project
dresden
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 14 May 2008, 16:54
Location: Germany

Hi Jan,I

Post by dresden »

Hi Jan,

I have found what caused the problem: it was the swmenupro module creating the sidemenu on the left. There were three javascript files, one of them overwriting the classes (or so I think). I have changed the menutype to a non-selfopening menu and it works amazingly now.

Cheers for your help! Brought me onto the right track.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Post by Jan »

If you find Phoca extensions useful, please support the project
Jimme
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 14 May 2008, 14:17

Hello Jan,

Post by Jimme »

Hello Jan,

found out that Turtu-Shoutbox has caused the Problems with Phoca.

there was one option in the Shoutbox-Parameter:
Use local jQuery JS?
( ) No, I have already included jQuery JS file
( ) Yes, use local

When using Yes =>Phoca down - Shoutbox ok
When using No => Phoca OK - Shoutbox down

conclusion:
No Shoutbox

Thanks a lot for your assistance!!!
Post Reply