We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    Are you encoding the ? (|xq|), the = (|xe|) and the & (|xa|) in that string in the snippet’s parameters?
      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
      • 12379
      • 460 Posts
      Duh, no. Guess I better read the instructions more closely... ok that’s improved things ... thanks!
      embarrassed

        Mostly harmless.
        • 12121
        • 22 Posts
        I need some help... I’ve read through the snippet and the forum support and I can’t figure out how to display ONE post with a description. My feed is from a blog and I want to display the most recent post link with a summary. I don’t want a list of the last 3, 8 or 20 posts. Just the most current. There is an easy solution I am sure but I can’t seem to figure it out. Shouldn’t this be a part of the call? Is this what maxElements is for? That didn’t work. I need direction.

        Can someone, please, give me some direction on this? I would really appreciate it!
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Yes, the maxElements parameter is what you want. Set debug to 1 to get the debugger; it’s an absolutely amazing tool!
            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
            • 12121
            • 22 Posts
            ok, so now what? I tried &maxElements=`1` and nothing. Is it a parameter in one of my tpl’s? Sorry to be so dense but I just don’t get it. Something is not clicking with me on this. I feel like I mastered ditto and reflect but can’t grasp this one. Could you basically write my tag for me? grin
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Did you run it with debug on?
                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
                • 12121
                • 22 Posts
                yes. I don’t think I know how to properly use the debug. I see all the info in the debug popup but I can’t edit anything. Should I be able to? I am on a mac.
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  No, but it should help you see what you need to use in your snippet tags. They syntax will be
                  &maxElements=`CHANNEL(5):ITEM(10)`

                  This will depend on the name of the elements in your feed, which is where the debug comes in.
                    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
                    • 12121
                    • 22 Posts
                    You are the queen of MODx!!! Thank you so very much!!!! I really appreciate it!! IT WORKS!!!!!!!!!

                    I just need to get a handle on the tagging for this one as it is a bit different than what I am used to.

                    Shalom!
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      בבקשה laugh

                      It is a bit different, but very powerful, and handles all different kinds of feeds as well. Quite an impressive "snippet"!
                        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