on clickyng a thumbail image: box pops up and wants to print

Phoca Gallery - image gallery extension
onickel
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Apr 2013, 15:51

on clickyng a thumbail image: box pops up and wants to print

Post by onickel »

Hi!
This is my first post. I don't know if it's already been asked. I searched the forum, googled, tried a couple of things and i'm clueless, the problems persists. I don't klnow, what to do.

I upgrade a site with phocagallery from J1.5 to j2.5. I installed from scratch phocagallery, moved the old db and made the necessary changes in the new db. Rest assured: everything is fine.

The images are shown in frontend in thumbails (thanks to pg plugin).
When i used the template with beez2 and click on an image, a box pops up, everything normal.
But with my old template (which i pretty much updated), click on a image (and after dealing with some js errors), a box pops up and wants to prints.
In chrome, the same thing.But in ie8, works fine.

Perhaps has something with jquery and mootools. I use a plugin called Jquery uploader. It loads the version 1.7.1.min and noconflict function. But the issue remains the same.

Pls, help me! What am i missing?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: on clickyng a thumbail image: box pops up and wants to p

Post by Jan »

Hi, unfortunatelly, there is no other way then to fix the conflicts between different javascript libraries but what exactly, this is hard to say :-(

Jan
If you find Phoca extensions useful, please support the project
onickel
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Apr 2013, 15:51

Re: on clickyng a thumbail image: box pops up and wants to p

Post by onickel »

thx for your reply.

I really don't understand. Why does it work under beez2 with the exact same configuration (modules, plugins, libraries, etc) as my old template?
Do the templates load somewhere different javascript libraries.
One time, i replaced the index.php of my old template with the one of beez2 and it didn't work either.
Mr_Rudi
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 21 Apr 2013, 22:59

Re: on clickyng a thumbail image: box pops up and wants to p

Post by Mr_Rudi »

Hallo Jan,

kannst du mir das bitte nochmal in deutsch erklären.

Ich habe das gleiche Problem allerdings nur im FF. IE geht auf ohne Druckanforderung.
onickel
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Apr 2013, 15:51

Re: on clickyng a thumbail image: box pops up and wants to p

Post by onickel »

hi mr_rudi,

Das Problem taucht auch bei mir nur bei FF, Chrome bzw. Chromium und Safari auf. Man kann davon ausgehen, dass es nur bei Gecko und Webkit HTML-Rendering Maschine den Fall ist, denn bei IE (Trident) und Opera (Presto) funktioniert Einwandfrei.
Aber, wie gesasgt, es ist komisch, dass es bei Beez2 funktioniert ohne Druckanforderung. Also, normal
-----------------------------------------------------------------------------
The Problem happens only in FF , Chrome bzw. Chromium and Safari. One can conclude, it occurs only with Gecko and Webkit, b/C in IE (Trident) and Opera (Presto) works flawlessly.
Like I said, it's strange, with Beez2 works pretty much normal.
onickel
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 25 Apr 2013, 15:51

Re: on clickyng a thumbail image: box pops up and wants to p

Post by onickel »

Îch hab es gelöst. Es war so einfach! :oops:
Für meine neue Template in J2.5 hab ich Blank_Template unv von daher, manche Dateien rüber kopiert (css, images) bzw. geändert (Overrides, index.php). Und ich hab component.php vergessen!
Falls, du es nicht weist, die Datei ist da, wenn man was ausdrucken ohne Module will.
Den Befehl window.print() weglassen oder die Datei durch die von Beez2 ersetzen und voila!
----------------------------------------------------------------------------------------
I solved it! To my shame, it was so easy! :oops:
For the new Template, i used Blank_Template. From there, i just copied over css and images and edited some files ((Overrides, index.php) and i totally forgot about component.php!
In case you don't know, it's used for printing and such w/o modules.
Remove "window.print()" or replace the file by the one in Beez2 and voila!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: on clickyng a thumbail image: box pops up and wants to p

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Mr_Rudi
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 21 Apr 2013, 22:59

Re: on clickyng a thumbail image: box pops up and wants to p

Post by Mr_Rudi »

Super hat geklappt....hier hatte ich garnicht geschaut.....Danke.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: on clickyng a thumbail image: box pops up and wants to p

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply