We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6726
    • 7,075 Posts
    Quote from: Mark at Feb 19, 2006, 10:52 AM
    Yes, right here: http://modxcms.com/bugs/index.php?project=4

    OK, nice to know !
    (maybe post this on the first post of this thread... )

    Quote from: Mark
    Yes, David in 6.3.x series the emptytext appears twice. This has already been fixed in the 6.5 development code.

    Great, thanks !

    Hmmm, tried the 6.5 version posted here, but it still gets displayed twice... maybe there’s a new one ?
      .: COO - Commerce Guys - Community Driven Innovation :.


      MODx est l'outil id
      • 18397
      • 3,250 Posts
      That is a very old 6.5 dev version from nearly 18 days ago! When I said this:

      This has already been fixed in the 6.5 development code.

      I meant my local development copy. Sorry for the confusion.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        I updated to version 6.5 a few days ago, and just noticed a very strange thing. I use NewsListing to simply pull up the full text of the latest article. Take a look at this, check the date, and then check the date in the actual article page using the link to the right.

        http://www.sottwell.com

        I’m using a very simple template,

        <div class="nl_summaryPost">
          <div>[+summary+]</div>
        </div>


        and I call the snippet in the home page document like this:

        [!NewsListing?startID=`1`&summarize=`1`&trunc=`0`&tpl=`ArticleTpl`&archivetext=`More Articles`!]
          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
          • 18397
          • 3,250 Posts
          Very very simple issue. Let me take a guess that the date is contained within the article as a snippet? If so, then the snippet is executing with the current page (the home page) which was created on that date. smiley
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            You are correct. Heh. You can tell that that home page has been hanging around just getting modified since the early days of Etomite!

            Now to figure out how to get the date to display properly both on the home page and on the individual page.

            Ok, set the one from the document in the newslisting container to display:none, and added the [+date+] placeholder to the template and floated it right.

            Very simple indeed. rolleyes
              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
              • 6726
              • 7,075 Posts
              Quote from: Mark at Feb 19, 2006, 05:31 PM
              That is a very old 6.5 dev version from nearly 18 days ago! When I said this:
              I meant my local development copy. Sorry for the confusion.

              Yeah I thought so, not much confusion there wink

              I just did a quick try on the fly, to make sure...
                .: COO - Commerce Guys - Community Driven Innovation :.


                MODx est l&#39;outil id
                • 24981
                • 109 Posts
                For the dumbies out there (like me wink ), the newsnippet is different from the old Etomite version in that you encapsulate parameters with ` marks instead of ’ marks. So ’startID’ has become `startID`.....

                Only took 2 hours to notice this!

                Rich
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  This is the case with all snippets.
                    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
                    • 32847
                    • 171 Posts
                    Hello,

                    can we use rss with filter cause I just add &format=`rss` to options but I have just the header of the xml and no news.
                    is there a special way to provide rss with this wonderfull snippet?
                    Thanks
                      • 18397
                      • 3,250 Posts
                      That mean no items passed the filter