Conflict between YOO and the viewer of PHOCA

Phoca Gallery - image gallery extension
arnaudkite29
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 02 Nov 2010, 23:17

Conflict between YOO and the viewer of PHOCA

Post by arnaudkite29 »

Hello,
I have a template of the serie YOO, and I use PHOCA GALLERY.
The tempate YOO neutralizes me the viewer PHOCA GALLERY.
The viewer of photos is imposed by the template YOO, and the paramétres of viewers PHOCA is ineffective.
On the other hand dices which I change template, the viewer PHOCA is again customizable.
Anybody would have an idea???
Thank you in advance
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Conflict between YOO and the viewer of PHOCA

Post by Jan »

Hi, can I see the site where this occurs?
If you find Phoca extensions useful, please support the project
arnaudkite29
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 02 Nov 2010, 23:17

Re: Conflict between YOO and the viewer of PHOCA

Post by arnaudkite29 »

The occurs is http://www.christopheallain.fr/ or to see de pictures http://www.christopheallain.fr/les-conc ... ssant.html.

I could also change the templates so that you see the difference of viewer
Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Conflict between YOO and the viewer of PHOCA

Post by Jan »

Hi, what you mean with:
The tempate YOO neutralizes me the viewer PHOCA GALLERY.
I see no problem on that site :idea:
If you find Phoca extensions useful, please support the project
arnaudkite29
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 02 Nov 2010, 23:17

Re: Conflict between YOO and the viewer of PHOCA

Post by arnaudkite29 »

I mean that the parametres of the viewer is imposed by the template YOO. The modification of parametres viewer in PHOCA do not allow to obtain from result
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Conflict between YOO and the viewer of PHOCA

Post by Jan »

Hi, do you mean detail window with "viewer" ... if yes, then I think there is no solution, if two extensions are using one and the same library, it has only one settings, but maybe the javascript can be overwritten and renamed, so the other extensiosn will use a "copy" of the library called with other name :idea:
If you find Phoca extensions useful, please support the project
arnaudkite29
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 02 Nov 2010, 23:17

Re: Conflict between YOO and the viewer of PHOCA

Post by arnaudkite29 »

Effectively by viewer I want to speak about fenetre of detail.
I did not well understand your solution?
When I change TEMPLATE and when I puts a native TEMPLATE ( rhuk_milkyway opar example), the window of detail becomes again customizable from PHOCA
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Conflict between YOO and the viewer of PHOCA

Post by Jan »

It means, two extensions are loading the same library (one with text buttons, one with image buttons (Phoca Gallery)), try to search this forum, there was a guide, how to rename one of the shadowbox library to other name, so not both the same libraries with the same behaviour will be loaded.

Jan
If you find Phoca extensions useful, please support the project
arnaudkite29
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 02 Nov 2010, 23:17

Re: Conflict between YOO and the viewer of PHOCA

Post by arnaudkite29 »

Thank you for your help,
I reussit finally in finding. I had a probléme of conflict of
JAVASCRIPT bookshop.
My solution is not trés academic, I did not understand everything what I have
Made but that works.

I modified the INDEX.PHP of the TEMPLATE YOO to make it point
JAVASCRIPT bookshops of JOOMLA then I neutralized bookshops
JAVASCRIPT of the TEMPLATE YOO by reappointing the corresponding directory.

I replaced lines 21 and 22 of INDEX.PHP of template YOO_PAGE

$this->_scripts = array_merge(array($template_baseurl . '/lib/js/mootools.js.php' => 'text/javascript'), $this->_scripts);
unset($this->_scripts[$this->baseurl . '/media/system/js/mootools.js']);

By these 2 lines

$this->_scripts = array_merge(array($template_baseurl . '/media/system/js/mootools.js' => 'text/javascript'), $this->_scripts);
// unset($this->_scripts[$this->baseurl . '/media/system/js/mootools.js']);

Then I rename the directory
"\templates\yoo_page\lib\js" in "\templates\yoo_page\lib\js_sauv"

In brief that works great well

Still thank you for your help and your support.

How then I to make a donation??
:twisted:
Arnaud
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Conflict between YOO and the viewer of PHOCA

Post by Jan »

Great to hear it.

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