We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42689
    • 125 Posts
    Hello i am newper in MODx .. 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
      • 5430
      • 247 Posts
      Be sure to look through the documentation if you haven't already: http://rtfm.modx.com/display/ADDON/getResources
        • 3109 ☆ A M B ☆
        • 894 Posts
        You could also use MIGX for this, might be easier.
          Benjamin Marte
          Interactive Media Developer
          Follow Me on Twitter | Visit my site | Learn MODX
          • 42689
          • 125 Posts
          Hello claytonk,

          Thanx for the reply ..

          can u tell me how can we manage the "getResources" ..?
          I means to say from the back-nd ..? how can i enter the news details ..? like headning,sub-heading,posted date etc etc ..? and how can i get those first three latest details in front-nd ..??

          Thanx
            • 42689
            • 125 Posts
            Hello benmarte,

            Thanx for the your reply..

            Are your sure the MIGX is best for my news section part ..?
              • 3749
              • 24,544 Posts
              Chirag, Please don't make multiple posts with the same question.
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 42689
                • 125 Posts
                Hello BobRay,

                Sorry for the multiple post's in form .. bt i think there are the multiple topic's for the post's .. that's y i have post my probleums in sevreal's topic in the form ..

                B'day way can u plz help me for my probleum ..?
                  • 42689
                  • 125 Posts
                  I have also try the MIGX .. bt there are no any responce regarding my requirment ..

                  I want a just a simple task in modx .. For example :-

                  I have a three menu in my webste

                  HOME|ABOUT US|NEWS

                  At Home page in the right side --> i want to listing of my latest news with the limit of 3 .. exmple :-

                  "News Heading"
                  "News Discription"
                  "read more"


                  Like this after that at the following of the news--> i want to show the link with the name of "view all" .. after the click on that link i want to redirect on NEWS page --> where are listing of the my all news ... smiley

                  This is very simple task for the older MODX person .. smiley Plz give me some trick's or idea's .. that how can i manage this ..?


                  Thanx a lot in the advance.. smiley
                    • 3749
                    • 24,544 Posts
                    http://rtfm.modx.com/display/ADDON/getResources

                    You want something like this (replace ## with the ID of the parent folder that holds the news stories). Put this tag in the template where you want the output to appear:

                    [[!getResources? &parents=`##` &limit=`3` &sortby=`createdon` $tpl=`MyNewsChunk`]]



                    Create a chunk called MyNewsChunk that looks something like this:

                    <p>[[+pagetitle]]</p>
                    <p>[[+description]]</p>
                    <p><a href="[[+id]]">See more . . .</a>
                      Did I help you? Buy me a beer
                      Get my Book: MODX:The Official Guide
                      MODX info for everyone: http://bobsguides.com/modx.html
                      My MODX Extras
                      Bob's Guides is now hosted at A2 MODX Hosting
                      • 42689
                      • 125 Posts
                      Thanx a lot BobRay for your reply ..

                      I have follow your instructions as per u told me .. i have creat new chunk and put the code in it ..

                      After that u told me put that code :-
                      [[!getResources? &parents=`##` &limit=`3` &sortby=`createdon` $tpl=`MyNewsChunk`]]
                      


                      In your template where i want to show the news listing ..in this code u have write the parents..

                      i did nt undestand exectly ..? u means to say firt of all i have to creat new parent page document file form the resources..? right after that that page id is my parent id for "MyNewsChunk" ..? right..?

                      after that which child page document i have created ..? that content will display under the my parent page ..? right

                      thanx