We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    About your links not working: make sure you have this tag in the head section of all templates:

    <base href="[[++site_url]]" />
      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
      • 46950
      • 86 Posts
      Quote from: jisaac at Nov 06, 2014, 09:12 AM
      May want to view the last video on this page: http://rtfm.modx.com/revolution/2.x/getting-started/video-quick-start-series/
      I've just watched it but still did not find any reply on my question. The man did not make any attempt to look at a whole article. Looks like he's never heard anything about a problem like mine sad
        • 42046
        • 436 Posts
        I think you might be misunderstanding what getResources is for. All it does is create lists of other resources and the getResources Tpl chunk governs how that list looks. The look of the actual full resource when viewed is determined by the actual template that is specified in that resource.

        To change the template of a resource here:

          • 14214
          • 299 Posts
          Also see Bob's comment - it is important. Quote from: BobRay at Nov 06, 2014, 11:06 AM
          About your links not working: make sure you have this tag in the head section of all templates:

          <base href="[[++site_url]]">

          If it still does not work, turn off friendly URL's and test.
            • 46950
            • 86 Posts
            Quote from: jisaac at Nov 06, 2014, 01:29 PM
            Also see Bob's comment - it is important. Quote from: BobRay at Nov 06, 2014, 11:06 AM
            About your links not working: make sure you have this tag in the head section of all templates:

            <base href="[[++site_url]]">

            If it still does not work, turn off friendly URL's and test.

            About the links that don't work. The link to the page I deal with is http://artinox-td.ru/modx/index.php?id=12 (I use Wayfinder). The links in the titles of the articles in the list are http://artinox-td.ru/modx/index.php?id=<nn> where <nn> changes from 14 up to 18.

            Maybe Dan (reply #13) is right when he says that getResorces deals only lists of articles and not for showing a full article?
              • 14214
              • 299 Posts
              You are missing
              <base
               href="[[++site_url]]">


              The above needs to be added to your template (not getResources template, your main page template in the head).

              Dan is correct, however, what you are looking to do is within the scope of getResources. Your just have an error in your links, the links from the getResources template point to the document itself.
                • 14214
                • 299 Posts
                Also make sure your pages are published.
                  • 46950
                  • 86 Posts
                  Quote from: absent42 at Nov 06, 2014, 01:28 PM
                  I think you might be misunderstanding what getResources is for. All it does is create lists of other resources and the getResources Tpl chunk governs how that list looks. The look of the actual full resource when viewed is determined by the actual template that is specified in that resource.

                  To change the template of a resource here:


                  It seems to me that this post must make some sense. Anyhow I cannot understand in what resource the template for the full look must be specified.

                  As you can see on the 1st picture, the folder Articles is the root folder for all my articles. As you can see on the 2nd picture, its template has the name dels-Article. Do you mean this template?
                    • 14214
                    • 299 Posts
                    You didn't say you were working with an articles container. Articles handle templates a little different. Check the video here and read the links lower on the page that discuss templating: http://rtfm.modx.com/extras/revo/articles
                    • discuss.answer
                      • 46950
                      • 86 Posts
                      Quote from: jisaac at Nov 08, 2014, 02:25 PM
                      You didn't say you were working with an articles container. Articles handle templates a little different. Check the video here and read the links lower on the page that discuss templating: http://rtfm.modx.com/extras/revo/articles
                      I've just watched it. It's about creating a blog but what I'd like to make is not a blog but a list of summaries of some articles and some of their first lines, then every used must be able to click the title of every article to see its full content.