Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Floyd
Topic Author
Posts: 2
Joined: 01 Aug 2016, 08:44

Folder NEWS from last uploaded subfolders

30 Jan 2018, 18:32

Hi Carl,

thank you for your great job. I have one question:
I have folders with subfolders with pictures (http://xflorbal.cz/galleries/ - folder galleries is hidden in menu this time). It is possible to make folder NEWS in menu, which could load last uploaded subfolders or pictures (doesnt matter in which folder/subfolder are)?

I mean, it could load somehow pictures or subfolder with photos from "last womens game" in folder WOMENS GAMES and next week after new upload it could load subfolder "last mens game" from  from different folder MENS GAMES. ¨

I found only loading from one folders.

Thanks  :-)
BR Martin
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Folder NEWS from last uploaded subfolders

31 Jan 2018, 04:15

Unfortunately there is no "smart" folders system that will automatically load "latest images" from multiple folders. This is currently a bit complicated, because the process itself would require searching all folders on page load, to find some "latest folders". It's certainly an interesting feature, but it would have to be created as a proper plugin, and might need to use some storage mechanism JSON/DB.

You can already set a folder that loads X amount of latest folders from inside a another folder. For example, you could a folder "latest" which displays the three newest folders inside "gallery" folder. This does not work for images though, and is basically just a folder that references another folder.
 
User avatar
Floyd
Topic Author
Posts: 2
Joined: 01 Aug 2016, 08:44

Re: Folder NEWS from last uploaded subfolders

31 Jan 2018, 14:40

Thanks Karl