We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5644
    • 78 Posts
    I add. But there are no changes

    <?php
    setlocale(LC_ALL, 'ru_RU');
    /*
     * Title: Reflect Snippet
     * 
     * Description: 
     * 		Generates date based archives using Ditto
     * 
     * Author: 
     * 		Mark Kaplan for MODx CMF
     * 
     * Version: 
     * 		1.0.2
     * 
     * Note: 
     * 		If Reflect is not retrieving its own documents, make sure that the
     *			Ditto call feeding it has all of the fields in it that you plan on
     *       calling in your Reflect template. Furthermore, Reflect will ONLY
     *			show what is currently in the Ditto result set.
     *       Thus, if pagination is on it will ONLY show that page's items.
    */
     
    
    // ---------------------------------------------------
    //  Includes
      • 5644
      • 78 Posts
        • 5644
        • 78 Posts
        and another question. When I call RSS http://op-tambov.ru/index.php?id=37
        Why I get only three last news? How can i publish more for rss?
        [!Ditto? &startID=`32` &format=`rss`!]
          • 5644
          • 78 Posts
          Hey, what can I do? In what problem?
            • 25663 MODX Staff
            • 12,272 Posts
            collst, Ditto by default only displays 3 results. Look at the list of params to set the appropriate one (don’t have in front of me right now or I’d tell you exactly which one).
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 5644
              • 78 Posts
              My search in parametrs doesn’t effect (in rss).
              My main problem in English when the date of archive shows, i need to show my site tomorrow and don’t know how can i show it not in Russian sad
                • 5644
                • 78 Posts
                This problem in script. May be you need to add some query? Or russian format not supported in modX?
                  • 17802
                  • 190 Posts
                  Hello,

                  Have you been using the language parameter in your snippet call? I had a similar issue (Dutch language) and my Reflect call ended up like this:
                  [!Reflect?config=`wordpress` &targetID=`55` &dittoSnippetParameters=`parents:39|language:dutch` &getDocuments=`1` &id=`wp` &tplContainer=`ReflectTpl` &tplMonth=`reflectTplMonth` &monthSortDir=`DESC`!]

                  which worked grin
                    Thanks for MODx - I love it!
                    • 5644
                    • 78 Posts
                    huh
                    what will the final version of this code?

                    [!Reflect? &startID=`32` &summarize=`all` &extenders=`dateFilter` &dittoSnippetParameters=`startID:32`!]


                    please. help
                    thanks
                      • 5644
                      • 78 Posts
                      Hooray!
                      I add
                      setlocale(LC_ALL, 'ru_RU.CP1251'); 

                      and add locale to russian language file