We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19315
    • 84 Posts
    Hi,

    In normal view, I would like the title of the current picture to be in the title bar. Would the best way to achieve this be: to have a call to MaxiGallery in the title bar, but have practically all the templates blank, or nearly blank, so that only the title is shown when ?pic=[picId] is in the address bar? It seems a bit of overkill somehow to invoke MaxiGallery for this.

    Michal.
      • 7923
      • 4,213 Posts
      Might be better to create a new snippet that queries maxigallery database for certain info.. like the getField snippet, but for maxigallery..

      Eg. [!MaxiField? &pic_id=`[[ a Snippet that_returns $_GET[’pic’] ]]` &field=`title`!]


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 19315
        • 84 Posts
        Thanks, I’ll give that a go!

        Michal.