Page 1 of 3

Change the default path

Posted: 16 Sep 2008, 13:56
by bdegex
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

Re: Change the default path

Posted: 16 Sep 2008, 22:59
by Jan
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

Re: Change the default path

Posted: 17 Sep 2008, 07:49
by bdegex
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

Re: Change the default path

Posted: 17 Sep 2008, 08:01
by bdegex
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

Re: Change the default path

Posted: 18 Sep 2008, 16:31
by Jan
:wink:

Re: Change the default path

Posted: 19 Sep 2008, 09:28
by teddyfresco
bdegex, it would be nice if you could share with us the solution for this thing
I would like to change path as well...

Re: Change the default path

Posted: 07 Oct 2008, 13:20
by teddyfresco
bdegex, just a short answer would have been enough...

Re: Change the default path

Posted: 07 Oct 2008, 19:27
by Jan
maybe bdegex doesn't visit this forum anymore :(

Re: Change the default path

Posted: 12 Dec 2008, 16:13
by Zappu
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 :D )

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

Re: Change the default path

Posted: 12 Dec 2008, 17:16
by Zappu
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