Page 1 of 1

Conflict between YOO and the viewer of PHOCA

Posted: 02 Nov 2010, 23:20
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

Re: Conflict between YOO and the viewer of PHOCA

Posted: 06 Nov 2010, 21:16
by Jan
Hi, can I see the site where this occurs?

Re: Conflict between YOO and the viewer of PHOCA

Posted: 06 Nov 2010, 22:06
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

Re: Conflict between YOO and the viewer of PHOCA

Posted: 06 Nov 2010, 22:51
by Jan
Hi, what you mean with:
The tempate YOO neutralizes me the viewer PHOCA GALLERY.
I see no problem on that site :idea:

Re: Conflict between YOO and the viewer of PHOCA

Posted: 06 Nov 2010, 23:22
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

Re: Conflict between YOO and the viewer of PHOCA

Posted: 06 Nov 2010, 23:42
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:

Re: Conflict between YOO and the viewer of PHOCA

Posted: 07 Nov 2010, 00:01
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

Re: Conflict between YOO and the viewer of PHOCA

Posted: 09 Nov 2010, 18:37
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

Re: Conflict between YOO and the viewer of PHOCA

Posted: 13 Nov 2010, 09:52
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

Re: Conflict between YOO and the viewer of PHOCA

Posted: 16 Nov 2010, 18:46
by Jan
Great to hear it.

Jan