We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8109
    • 128 Posts
    Is it possible to get the path of the current gallery’s parent? Along with this it would be convenient to know if the current gallery has a parent, or is the top level gallery. In this way one could include a "Go up a level" link in the galleryOuterTpl. Perhaps I’m barking up the wrong tree and should be using Ditto?
      Revo 2.0.8-pl
      • 7923
      • 4,213 Posts
      yeah, you could use ditto.. or do a simple snippet that checks if there is a parent document and that is it a gallery document..

      eg parent =! 0 and check that id from maxigallery db table against gal_id field


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."