Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

X3 new galleries page

09 Apr 2015, 07:33

Just a question now that I'm putting my hands in the beta.

Is it possible that the start page is really a sort of showcase of the latest galleries? I update periodically my album with new galleries with the latest events so should be good that the user can see the newest galleries added as soon as he enter the album.

Thanks!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: X3 new galleries page

09 Apr 2015, 10:47

Depends how your gallery is categorized. You could use the folders > assets setting to set a folder from where the start page is to read folders from. For example, if you have something like this:
Code
1.index
2.portfolio
---1.gallery1
---2.gallery2
---3.gallery3
---4.gallery4
You can then use the following code on your index page to list the 3 latest gallery links inside "2.portfolio":
Code
folders: assets:portfolio grid:3,2,1 wide
(the grid+wide are just an example of layout)
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: X3 new galleries page

09 Apr 2015, 11:06

Very good so that I can show the latest galleries published... :D
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: X3 new galleries page

09 Apr 2015, 13:56

I forgot to mention, you an use the "limit" setting to limit the listing to a specific amount of latest posts. For example show only the three latest galleries:
Code
folders: assets:portfolio limit:3 grid:3,2,1 wide