Great component!
Can someone give me a hint to change the document root?
Like to have:
/gallery
instead of
/images/phocagallery
And maybe a hack to change the "personal folder" root used by "Phoca Gallery User Control Panel Layout"?
These personal folders should be in one subfolder(category) like:
/gallery/product1
/gallery/product2
/gallery/product3
...
/gallery/productxx
/gallery/private/user1
/gallery/private/user2
...
/gallery/private/userxx
cheers
JStoffy
change root
-
reko
- Phoca Professional

- Posts: 407
- Joined: 29 Dec 2008, 22:06
Re: change root
hi JStoffy,
there is no easy way to achieve this (without changing the code).
but search the forum, i think this was discussed before...
/rk
there is no easy way to achieve this (without changing the code).
but search the forum, i think this was discussed before...
/rk
-
JStoffy
- Phoca Newbie

- Posts: 5
- Joined: 13 Mar 2009, 12:24
Re: change root
thanks for this hint,
I only found viewtopic.php?f=1&t=8
from 2007.
I changed all pathsettings in the 2 given files.
components/com_phocagallery/helpers/phocagallery.php
administrator/components/com_phocagallery/helpers/phocagallery.ph
Additionally I found 3 other locations where I chaged the code:
administrator/components/com_phocagallery/front/helpers/pocagallery.php
administrator/components/com_phocagallery/front/views/detail/tmpl/default_downlaod.php
components/com_phocagallery/views/detail/tmpl/default_downlaod.php
After this I give up, always get errors:
* JFolder::files: Path is not a folder
* JFolder::folder: Path is not a folder
Does anybody changed the root folder for phocagallery ?
If this is realy not possible, is there maybe a chance to put the personal folder in one subfolder, like discribed above?
thanks for any help.
js
I only found viewtopic.php?f=1&t=8
from 2007.
I changed all pathsettings in the 2 given files.
components/com_phocagallery/helpers/phocagallery.php
administrator/components/com_phocagallery/helpers/phocagallery.ph
Additionally I found 3 other locations where I chaged the code:
administrator/components/com_phocagallery/front/helpers/pocagallery.php
administrator/components/com_phocagallery/front/views/detail/tmpl/default_downlaod.php
components/com_phocagallery/views/detail/tmpl/default_downlaod.php
After this I give up, always get errors:
* JFolder::files: Path is not a folder
* JFolder::folder: Path is not a folder
Does anybody changed the root folder for phocagallery ?
If this is realy not possible, is there maybe a chance to put the personal folder in one subfolder, like discribed above?
thanks for any help.
js