Hi - I am trying to make the dynamic album option limit itself to the current album.
Am using the Default theme with some minor changes to image size.
Is there a way to change the parameters in album.alb to limit it within a single album or tree ?
example file.alb
WORDS="2009"
THUMB=0
FIELDS=exifdatetimeoriginal
CONSTRAINTS=inalbums=1&inimages=1&unpublished=0
If this file can't be changed to limit scope to e.g. Trips or Trips\London Albums can the search.php for the theme be changed to limit all searches (given a dynamic album seems to be a search) to the current folder.
Have done lots of searching but can't find a definitive answer or enough code to make the change with confidence.
Craig
Comments
`CONSTRAINTS=inalbums=youralbum&inimages=1&unpublished=0`
It also supports a list of album names like `youralbum1,youralbum2` and so one. Note that subalbum (folder) names include their parent(s).
I thought i had tried that but all now working.
I used the on disk name e.g. Cars/Mazda-CX3 and it worked
Thanks again