<![CDATA[ A couple of gallery questions - My Forums]]> https://forums.modx.com/thread/?thread=50583 <![CDATA[Re: A couple of gallery questions]]> https://forums.modx.com/thread/50583/a-couple-of-gallery-questions#dis-post-296153 Quote from: bennyb at Sep 19, 2010, 09:40 PM

Hi,

Ok trying to do a few things using Gallery that was possible in Evo.

1) Firstly is it possible to set an active state to the gallery you are viewing. So for example if i’m viewing the page:
mydomain.com/index.php?id=11&galAlbum=12

Gallery 12 will have a different class in my list. I’ve tried using the placeholder [[+active]] but this seems to add 1 to all the galleries.

2) Is it possible to change the createdon date, I want get each album a date but don’t always want to use the exact date it was created on.

3) Is it possible to load the latest gallery by default when visiting the page.

Quick thought can ditto or getResouce access the galleries?

Thanks in advance for any help.

Ben

I wondering for point 3 if I could some how use getpage.]]>
bennyb Sep 20, 2010, 10:09 AM https://forums.modx.com/thread/50583/a-couple-of-gallery-questions#dis-post-296153
<![CDATA[A couple of gallery questions]]> https://forums.modx.com/thread/50583/a-couple-of-gallery-questions#dis-post-296152
Ok trying to do a few things using Gallery that was possible in Evo.

1) Firstly is it possible to set an active state to the gallery you are viewing. So for example if i’m viewing the page:
mydomain.com/index.php?id=11&galAlbum=12

Gallery 12 will have a different class in my list. I’ve tried using the placeholder [[+active]] but this seems to add 1 to all the galleries.

2) Is it possible to change the createdon date, I want get each album a date but don’t always want to use the exact date it was created on.

3) Is it possible to load the latest gallery by default when visiting the page.

Quick thought can ditto or getResouce access the galleries?

Thanks in advance for any help.

Ben]]>
bennyb Sep 19, 2010, 04:40 PM https://forums.modx.com/thread/50583/a-couple-of-gallery-questions#dis-post-296152