We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18397
    • 3,250 Posts
    NewsListing Version 4.0

    I have added TV display, pagination, pages, and multisort capabilities as well as updated documentation!

    Please give feedback so that this version can be perfected for release with MODx9.1

      • 18397
      • 3,250 Posts
      NewsListing Version 4.1

      Minor bugfixes...
        • 26435
        • 1,193 Posts
        when using pagination, it displays as `< Previous 123 Next >`. Is there a way to add a nbsp to get it to display as `< Previous 1 2 3 Next >`?

        -sD-
          Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
          All of the above... in no specific order.


          I send pointless little messages
          • 23260
          • 30 Posts
          Why not use CSS to add a right margin to the links instead?
            • 6726
            • 7,075 Posts
            Thanks a TON Mark for this one, needed this TV feature badly I owe you one !

            Quote from: Mark at Dec 05, 2005, 09:53 PM
            I have added TV display, pagination, pages, and multisort capabilities as well as updated documentation!

            Please give feedback so that this version can be perfected for release with MODx9.1
              .: COO - Commerce Guys - Community Driven Innovation :.


              MODx est l&#39;outil id
              • 2762
              • 1,198 Posts
              Quote from: Mark at Dec 05, 2005, 09:53 PM

              NewsListing Version 4.0

              I have added TV display, pagination, pages, and multisort capabilities as well as updated documentation!

              Please give feedback so that this version can be perfected for release with MODx9.1



              GreatTV display?!?! Great!! great!!
                Free MODx Graphic resources and Templates www.tattoocms.it
                -----------------------------------------------------

                MODx IT  www.modx.it
                -----------------------------------------------------

                bubuna.com - Web & Multimedia Design
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Would you mind if I added the SingleRandom option to it? That is very handy for homepage or sideblock display of a single random item, for example I use it for a Client’s Quote block. It would also be useful in a shopping application, to show a random "featured item", or "what’s new" block.
                  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
                  • 21301
                  • 93 Posts
                  Great work Mark! Thanks! I finished mine as well. I use it in particular to be able to sort on a date TV. The snippets are very simular and I’d love to see one snippet that does it all. Could you add sorting ability for TV’s in your snippet?
                    • 25663 MODX Staff
                    • 12,272 Posts
                    About the only thing I see that it doesn’t do is an archive by year and month for folks that prefer their stuff sorted that way. It’s an awesome bit of code, regardless!
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 18397
                      • 3,250 Posts
                      Quote from: theo at Dec 06, 2005, 06:13 AM

                      Could you add sorting ability for TV’s in your snippet?

                      I think that will be possible.

                      Quote from: rthrash at Dec 06, 2005, 08:24 AM

                      About the only thing I see that it doesn’t do is an archive by year and month for folks that prefer their stuff sorted that way.

                      I have a few ideas for how to code this but nothing in concrete.

                      Quote from: sottwell at Dec 06, 2005, 04:43 AM

                      Would you mind if I added the SingleRandom option to it?

                      Not at all, I’ll take care of that for you.