Change the default path

Phoca Gallery - image gallery extension
bdegex
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Sep 2008, 13:46

Change the default path

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48859
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change the default path

Post 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
If you find Phoca extensions useful, please support the project
bdegex
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Sep 2008, 13:46

Re: Change the default path

Post 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
bdegex
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 16 Sep 2008, 13:46

Re: Change the default path

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48859
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change the default path

Post by Jan »

:wink:
If you find Phoca extensions useful, please support the project
teddyfresco
Phoca Member
Phoca Member
Posts: 16
Joined: 30 Jun 2008, 17:59

Re: Change the default path

Post 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...
teddyfresco
Phoca Member
Phoca Member
Posts: 16
Joined: 30 Jun 2008, 17:59

Re: Change the default path

Post by teddyfresco »

bdegex, just a short answer would have been enough...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48859
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change the default path

Post by Jan »

maybe bdegex doesn't visit this forum anymore :(
If you find Phoca extensions useful, please support the project
Zappu
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 Nov 2008, 15:16

Re: Change the default path

Post 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
Zappu
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 Nov 2008, 15:16

Re: Change the default path

Post 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
Post Reply