i've been searching about that and can't find anything...
i need to change the root directory (images/phocagallery) for a directory with less characters
i'm using the 2.7.8 version
Change the root directory
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change the root directory
Hi, this needs to be customized in the code, see the path class in Phoca Gallery libraries folder.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 14 May 2011, 21:48
Re: Change the root directory
oh, man! really, really thank you!
i've already looked at this file, but missed a few parameters
i've already looked at this file, but missed a few parameters
-
- Phoca Newbie
- Posts: 3
- Joined: 29 Oct 2012, 13:19
Re: Change the root directory
Hi,
is there any solution to change the root folder out of current domain?
for example:
my actually server root (not joomla root) is "/data/web/DOMAIN1.LTD/web/" - here is the joomla with phoca gallery
and i want store images in "/data/sub/SUBDOMAIN/images/..." or maybe on different server
When i change path in "administrator/components/com_phocagallery/libraries/phocagallery/path/path.php" changes affect only url after current domain
Joomal ver. 2.5.7
Phoca Gallery ver. 3.2.2
is there any solution to change the root folder out of current domain?
for example:
my actually server root (not joomla root) is "/data/web/DOMAIN1.LTD/web/" - here is the joomla with phoca gallery
and i want store images in "/data/sub/SUBDOMAIN/images/..." or maybe on different server
When i change path in "administrator/components/com_phocagallery/libraries/phocagallery/path/path.php" changes affect only url after current domain
Joomal ver. 2.5.7
Phoca Gallery ver. 3.2.2
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change the root directory
Hi, see my post above.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 29 Oct 2012, 13:19
Re: Change the root directory
Hi Jan,
thanks for Your answer.
I see Your post above, but as i wrote in my post above, when i change path in "administrator/components/com_phocagallery/libraries/phocagallery/path/path.php" changes affect only url after current domain i.e. wen i change anything in path.php file changes affect only url in current domain.
For exemple:
my current domain is ww w.MYDOMAIN.LTD
currently is images stored in ww w.MYDOMAIN.LTD/images/phocagallery/...
and what i want is, move the images to images.MYDOMAIN.LTD, or OTHERDOMAIN.LTD (in same server)
currently in path.php i can only change "/images/phocagallery/..."
thanks for Your answer.
I see Your post above, but as i wrote in my post above, when i change path in "administrator/components/com_phocagallery/libraries/phocagallery/path/path.php" changes affect only url after current domain i.e. wen i change anything in path.php file changes affect only url in current domain.
For exemple:
my current domain is ww w.MYDOMAIN.LTD
currently is images stored in ww w.MYDOMAIN.LTD/images/phocagallery/...
and what i want is, move the images to images.MYDOMAIN.LTD, or OTHERDOMAIN.LTD (in same server)
currently in path.php i can only change "/images/phocagallery/..."
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change the root directory
Hi, unfortunatelly, I didn't test to do the modifications yet, so cannot add any clue advices there
, try to see similar posts, there are some useful guides, but what everything needs to be modified and if there will be some conflict, really cannot say 
Jan


Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 29 Oct 2012, 13:19
Re: Change the root directory
Hi Jan,
still no solution?
btw: in the Phoca Download it is easy to set up in "administrator/index.php?option=com_phocadownload&view=phocadownloadset" > "Absolute Path"
still no solution?
btw: in the Phoca Download it is easy to set up in "administrator/index.php?option=com_phocadownload&view=phocadownloadset" > "Absolute Path"