We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42689
    • 125 Posts
    Hyy sottwell,

    Thanx for give me support,

    i want to discuss with you one thing also, plz have a look on this template http://modxd.com/new1-template.html

    you can see at right side there are news part avilable..i want to apply some thing like that in my website,it can be news or it can be testimonials etc ..

    So i want to know how can i manage paticluarc category from back-nd..? and also how can i get that category post in front-nd ..?

    can i have done that functionallty through with simple modx functions ..? means to say without any plugin or package..?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      There are several ways you can do this.

      You can use resources. Create a new Resource "News". Then use it as a container for the individual news articles. Use the getResources package to display the news items; it works much like Wayfinder only for a different purpose. Then there is the getPages packages, which is a wrapper for getResources to set up paging when you have a lot of articles listed. There is also Quip, which is for adding commenting to your articles. Archivist is another package that makes archive listings for older articles.

      There is a blogging package called Articles that bundles all this together plus a lot more features, but I'm not sure if you can install it at all without cURL, since it also automatically installs several other packages that it uses, including getResources and Quip.
        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
        • 42689
        • 125 Posts
        thanx for the reply sottwell,

        As we use wordpress in that we can create one news category after that on front-nd we can get the all post's for the that paticular category.. with the uses of wordpress functions right ..?

        I am new in modx so i have did nt have lots of knowledge abt modx..

        As same i m asking you can i have done something like that type of functionally in modx,so can manage easily news from backed ..? if is it possible so kindly plz let me knw how can i do that in mod x ..?


        And kindly tell me which code i have written at following ..? this code is used for which purpose..? "ditt" this functions is used for what ..?


        [[Ditto? &parents=`2` &total=`3` &dateSource=`pub_date` &dateFormat=`%B %m, %Y` &tpl=`NewsDittoTpl` ]]

        Thanx
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          You don't want to use Ditto, that's for Evolution. Use getResources. It's somewhat similar, but developed for Revo.

          http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution
            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
            • 42689
            • 125 Posts
            ok after install it can u tell me how can i manage it ...? how can i retrive some lates post at home page at right side bar..?

            Thanx
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              [[getResources? &parents=`1`]] if your home page is the parent for your news article pages. &parents works like the startId for Wayfinder, only you can have more than one "parent", such as &parents=`1,2,3` to list all the children of resources 1, 2 and 3.
                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
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Bookmark this URL; you can find the documentation for Revo itself as well as for most of the more commonly used extras here. http://rtfm.modx.com

                http://rtfm.modx.com/display/ADDON/getResources
                http://rtfm.modx.com/display/ADDON/Wayfinder
                  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
                  • 42689
                  • 125 Posts
                  than x for the reply sottwell,

                  i will start my work and apply get Resources for my costume categories in modx..

                  If i have some problems then i will let u know and i am sure you will defiantly help me smiley

                  because your the genius in Mod x smiley

                  Thanx a lots smiley
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    Best to start a new forum topic for each question. Good luck.
                      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
                      • 42689
                      • 125 Posts
                      hy sottwell,

                      i have already start the new forum topic .. u can also give replyies there or here also ..

                      i want to show the latest first three news and testimonials at right side of my website.. so can some one tell me how can i manage this part form front-nd to back-nd..?

                      And also plz tell me how can i manage that with "getResources" ..? i already have installed the pack of "getResources"..

                      Thanx