Category Image listing from the wrong folder

Phoca Download - download manager
daniele.gatti
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Sep 2010, 14:23

Category Image listing from the wrong folder

Post by daniele.gatti »

I've changed the default Joomla Image folder to a subfolder of image/stories. The Media Manager correctly recognizes the change and looks for images in the new folder. When I try to select an image from a category from the backend, however, Phoca Download still lists files in the images/stories folder. How can I solve this?

On a separate issue, it would be nice to provide a way to zoom the category image in a lightbox, but image plugins like Joomslide or Joomthumbimage don't look like they work on Phoca Download frontend pages.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Image listing from the wrong folder

Post by Jan »

Hi, path to images for Phoca Download is fix, so this needs to be customized in the code :-(

Jan
If you find Phoca extensions useful, please support the project
daniele.gatti
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Sep 2010, 14:23

Re: Category Image listing from the wrong folder

Post by daniele.gatti »

Where exactly is this path in the code? How could I make it dynamic or at least change it for a single template?

Thanks
daniele.gatti
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Sep 2010, 14:23

Re: Category Image listing from the wrong folder

Post by daniele.gatti »

daniele.gatti wrote:
On a separate issue, it would be nice to provide a way to zoom the category image in a lightbox, but image plugins like Joomslide or Joomthumbimage don't look like they work on Phoca Download frontend pages.
We managed to work around this issue via template override. The combo box selection issue sadly remains intact.
daniele.gatti
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Sep 2010, 14:23

Re: Category Image listing from the wrong folder

Post by daniele.gatti »

Anyone has any clue on this? If you could just point me to the right file/line I could try to work around the fixed path problem. Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category Image listing from the wrong folder

Post by Jan »

Hi, see:
administrator/components/com_phocadownload/helpers/phocadownload.php

there is a method getPathSet

Jan
If you find Phoca extensions useful, please support the project
Post Reply