On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • 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
    • 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.