I'm planning create gallery from images exists on server ex. ROOT/images/landscapes
These pictures are included in articles and I cant change location of images.
In phoca gallery I can set images only from ROOT/images/phocagallery,but not ROOT/images/landscapes
How solve it?
Change default path/folder for gallery
- Jan
- Phoca Hero
- Posts: 47865
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change default path/folder for gallery
Hi, the only one solution for this is to customize the code and change the path there. Try to see similar posts in this forum as there are some information regarding changing the paths.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 22 May 2021, 12:25
Re: Change default path/folder for gallery
Thanks,but I cant find it.
I found images/phocagallery in files on server
I tried edit in files
default_images.php
default_download.php
to my choice,but without changes
I found images/phocagallery in files on server
I tried edit in files
default_images.php
default_download.php
to my choice,but without changes
-
- Phoca Member
- Posts: 11
- Joined: 22 May 2021, 12:25
Re: Change default path/folder for gallery
{solved]
I cant edit previous post
I changed path:
images/phocagallery
in files:
renderfront.php
path.php
default_download.php
default_images.php
script.php
Thanks
I cant edit previous post
I changed path:
images/phocagallery
in files:
renderfront.php
path.php
default_download.php
default_images.php
script.php
Thanks
-
- Phoca Newbie
- Posts: 3
- Joined: 19 May 2021, 09:03
Re: Change default path/folder for gallery
Hi, can you tell me where i find the files?
-
- Phoca Member
- Posts: 11
- Joined: 22 May 2021, 12:25
Re: Change default path/folder for gallery
I cant use img function
I found files with string "images/phocagallery" copied to disk, edited with notepad++ (without BOM-important) and replace.
https://imgur.com/xQuaq3J
I found files with string "images/phocagallery" copied to disk, edited with notepad++ (without BOM-important) and replace.
https://imgur.com/xQuaq3J
- Jan
- Phoca Hero
- Posts: 47865
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change default path/folder for gallery
Hi, see:
administrator/components/com_phocagallery/libraries/phocagallery/path/path.php
where teh paths are defined and see similar posts in this forum, where users explained all the details.
Jan
administrator/components/com_phocagallery/libraries/phocagallery/path/path.php
where teh paths are defined and see similar posts in this forum, where users explained all the details.
Jan
If you find Phoca extensions useful, please support the project