Hello,
I've used an old version of PhocaGallery, and the component point on an other folder (directly on "images" without the subfolder "phocagallery". Other pages of my site target on images in this folder also I can't change the name of the folder or the place of the images.
I've upgrade my site withe the new version 2.0. In this version, how and where can I change the path to have an other target folder (not /images/PhocaGallery/).
Thanks for your quick help (because no gallery ar yet visible).
Best regards.
Bernard Degex
Change the default path
- Jan
- Phoca Hero
- Posts: 48859
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change the default path
Hi, you should change it the same way as did you before - with old version... I don't know how did you change the path, maybe in administrator/components/com_phocagallery/helpers/phocagallery.php
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 16 Sep 2008, 13:46
Re: Change the default path
Exact, I've changed in this file. But with the old version, I don't have automaticly a folder named "phocagallery" create.
Could you tell me where I can "disable" the creation of this default folder "phocagallery"?
Thanks
Regards
Bernard Degex
Could you tell me where I can "disable" the creation of this default folder "phocagallery"?
Thanks
Regards
Bernard Degex
-
- Phoca Newbie
- Posts: 3
- Joined: 16 Sep 2008, 13:46
Re: Change the default path
Hello,
Sorry I'found teh problem myself with your indication.
Thank you for your help and for your super module.
Best regards.
B>ernard Degex
Sorry I'found teh problem myself with your indication.
Thank you for your help and for your super module.
Best regards.
B>ernard Degex
- Jan
- Phoca Hero
- Posts: 48859
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
-
- Phoca Member
- Posts: 16
- Joined: 30 Jun 2008, 17:59
Re: Change the default path
bdegex, it would be nice if you could share with us the solution for this thing
I would like to change path as well...
I would like to change path as well...
-
- Phoca Member
- Posts: 16
- Joined: 30 Jun 2008, 17:59
Re: Change the default path
bdegex, just a short answer would have been enough...
- Jan
- Phoca Hero
- Posts: 48859
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change the default path
maybe bdegex doesn't visit this forum anymore 

If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 20 Nov 2008, 15:16
Re: Change the default path
The files which have to be changed are:
(not in all of them - I just mixed up somethin a bit, but if you edit these files you will find them at least all
)
administrator/components/com_phocagallery/models/phocagalleryi.php
administrator/components/com_phocagallery/helpers/phocagallery.php
administrator/components/com_phocagallery/helpers/phocagalleryrender.php
administrator/components/com_phocagallery/front/phocagallery.php
administrator/components/com_phocagallery/front/views/detail/tmpl/default_download.php
components/com_phocagallery/views/detail/tmpl/default_download.php
(not in all of them - I just mixed up somethin a bit, but if you edit these files you will find them at least all

administrator/components/com_phocagallery/models/phocagalleryi.php
administrator/components/com_phocagallery/helpers/phocagallery.php
administrator/components/com_phocagallery/helpers/phocagalleryrender.php
administrator/components/com_phocagallery/front/phocagallery.php
administrator/components/com_phocagallery/front/views/detail/tmpl/default_download.php
components/com_phocagallery/views/detail/tmpl/default_download.php
-
- Phoca Newbie
- Posts: 4
- Joined: 20 Nov 2008, 15:16
Re: Change the default path
This you also have to change
components/com_phocagallery/helpers/phocagallery.php
I think it would be a good idea if the phocagellery would be placed within the stories folder anyway, as you than also can use the images of the gallery within any other content
components/com_phocagallery/helpers/phocagallery.php
I think it would be a good idea if the phocagellery would be placed within the stories folder anyway, as you than also can use the images of the gallery within any other content