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
Conflict between YOO and the viewer of PHOCA
-
arnaudkite29
- Phoca Newbie

- Posts: 5
- Joined: 02 Nov 2010, 23:17
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Conflict between YOO and the viewer of PHOCA
Hi, can I see the site where this occurs?
If you find Phoca extensions useful, please support the project
-
arnaudkite29
- Phoca Newbie

- Posts: 5
- Joined: 02 Nov 2010, 23:17
Re: Conflict between YOO and the viewer of PHOCA
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
I could also change the templates so that you see the difference of viewer
Thanks
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Conflict between YOO and the viewer of PHOCA
Hi, what you mean with:

I see no problem on that siteThe tempate YOO neutralizes me the viewer PHOCA GALLERY.
If you find Phoca extensions useful, please support the project
-
arnaudkite29
- Phoca Newbie

- Posts: 5
- Joined: 02 Nov 2010, 23:17
Re: Conflict between YOO and the viewer of PHOCA
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
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Conflict between YOO and the viewer of PHOCA
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 
If you find Phoca extensions useful, please support the project
-
arnaudkite29
- Phoca Newbie

- Posts: 5
- Joined: 02 Nov 2010, 23:17
Re: Conflict between YOO and the viewer of PHOCA
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
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
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Conflict between YOO and the viewer of PHOCA
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
Jan
If you find Phoca extensions useful, please support the project
-
arnaudkite29
- Phoca Newbie

- Posts: 5
- Joined: 02 Nov 2010, 23:17
Re: Conflict between YOO and the viewer of PHOCA
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??
Arnaud
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??
Arnaud
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Conflict between YOO and the viewer of PHOCA
Great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project