Page 2 of 2

Re: XH_Shop backend issue

Posted: Fri Aug 16, 2019 12:54 pm
by frase
I see - I feel compassion.
:cry:

Re: XH_Shop backend issue

Posted: Fri Aug 16, 2019 12:58 pm
by milkodb
:D

in any case, XH-Shop seems to have no problem with the new XH as opposed to Wellrad and therefore there is no alternative. At work...

Re: XH_Shop backend issue

Posted: Fri Aug 16, 2019 1:03 pm
by frase
E' cosi' che stanno le cose.

Re: XH_Shop backend issue

Posted: Sun Aug 18, 2019 8:49 am
by cmb
milkodb wrote:
Fri Aug 16, 2019 11:22 am
XH_Shop does not seem to allow this possibility. In fact, it does not allow the display of any subdirectories present in the final folder indicated in the path set in the plugin configuration.
Indeed, Controller::getImageFiles() ignores any subdirectories. I've landed a pull request which would add support for hierarchical folder structures. If you want to try that, just replace the existing ::getImageFiles() function with the new one.

Re: XH_Shop backend issue

Posted: Sun Aug 18, 2019 9:04 am
by frase
cmb wrote:
Sun Aug 18, 2019 8:49 am
If you want to try that, just replace the existing ::getImageFiles() function with the new one.
Wow, that was fast!
And it works. So it is enough to specify a main folder. The shop finds the subfolders and offers the pictures in the select field.
Well done, Christoph!

Re: XH_Shop backend issue

Posted: Sun Aug 18, 2019 2:56 pm
by milkodb
perfect! Thank you very much, you saved me a lot of work.
Great Christoph!