We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14864
    • 24 Posts
    I have one question how do I get rid of the << and >> on the previous and next links for the gallery?

    http://svr8.acornhost.com/~infinity/test-gallery.html?page=1
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Check assets/snippets/maxigallery/lang/<your-language>.php and edit the lines
      $strings['previous']="« previous";
      $strings['next']="next »";

        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 14864
        • 24 Posts
        Thank you, I am a total newbie at this modX thing. I have alot to learn.

          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Most snippets that are more involved than just a few lines have language files where all output content is defined. Output structure is often defined in templates that can be from various sources; chunks, files, even directly in the parameter that specifies where the template is to be found. MaxiGallery default templates are in the assets/snippets/maxigallery/templates directory.

          When I saw this line
          <a href="[+maxigallery.previous_page_url+]">[+maxigallery.strings.previous+]</a> |
          

          I figured there had to be a language file with the "strings" part defined; this looks a lot like a Javascript construct.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org