We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12844
    • 59 Posts
    I’ve installed 1.1 Beta 1 to get my RSS working properly, but Ditto is no longer picking up my news entry (which it was before).

    The relevant document structure is attached as a png. "ERG League Admin resignation" is yellow because it is not set to show in the menu, not because of permissions.

    Here’s my snippet call:
    [[Ditto? &hideFolders=`1` &tpl=`NewsDisplayFull`]]

    Here’s the result.

    ("No entries found.")

    If I take off the hideFolders parameter it does show the three folders, but not the document. Removing the tpl parameter doesn’t make any difference.

    I’m stumped. huh Thanks.
      • 17883
      • 1,039 Posts
      i think you have to put a start id like

      [[Ditto? &startID=`1` &hideFolders=`1` &tpl=`NewsDisplayFull`]]
        • 12844
        • 59 Posts
        Quote from: MadeMyDay at Sep 06, 2006, 09:31 AM

        i think you have to put a start id like

        [[Ditto? &startID=`1` &hideFolders=`1` &tpl=`NewsDisplayFull`]]

        I did try it but it doesn’t work. Not including a startID should mean it looks in the folder from which you’re calling it.
          • 17883
          • 1,039 Posts
          Not including a startID should mean it looks in the folder from which you’re calling it.

          No, then it puts 0 automatically. For looking in the current folder you have to set $startID=`[*parent*]` imho. But I think there is something other wrong. What if you put &startID=`53` (for testing)?
            • 12844
            • 59 Posts
            [[Ditto? &startID=`52,53,54` &hideFolders=`1` &tpl=`NewsDisplayFull`]]

            works as it should and displays the news item correctly formatted with the chunk template.

            Quote from: MadeMyDay at Sep 06, 2006, 09:39 AM

            No, then it puts 0 automatically.
            Are you sure? On ERG News (53) I have
            [[Ditto? &hideFolders=`1` &trunc=`0` &summarize=`6` &commentsChunk=`FormBlogComments`]]

            and it shows its own posts.

            [[Ditto? &startID=`[*parent*]` &hideFolders=`1` &tpl=`NewsDisplayFull`]]

            and
            [[Ditto? &startID=[*parent*] &hideFolders=`1` &tpl=`NewsDisplayFull`]]

            both give me an SQL error.

            Strange, eh?
              • 2762
              • 1,198 Posts
              Nicola (Banzai) Reply #26, 20 years ago
              Quote from: ImpelGD at Sep 06, 2006, 09:29 AM

              I’ve installed 1.1 Beta 1 to get my RSS working properly, but Ditto is no longer picking up my news entry (which it was before).

              .......

              I’ve the same problem with this call
              [!Ditto? &startID=`40` &summarize=`5` &tagDelimiter=`,` &tagData=`tvprovincia` &tags=`roma,latina,rieti,viterbo,frosinone` &tagMode=`onlyTags` &tpl=`ListAnnunci` &hideFolders=1 &multiLevel=1 &paginate=`1`!]


              which it was before...
                Free MODx Graphic resources and Templates www.tattoocms.it
                -----------------------------------------------------

                MODx IT  www.modx.it
                -----------------------------------------------------

                bubuna.com - Web & Multimedia Design
                • 18397
                • 3,250 Posts
                MARKSVIRTUALDESK Reply #27, 20 years ago
                Depth defaults have changed!

                &descendentDepth is now &depth and defaults to 1
                &multiLevel no longer exists

                So, just append &depth=`#` to your calls when # is the number of levels deep you would like Ditto to see and you should be good.
                  • 18397
                  • 3,250 Posts
                  MARKSVIRTUALDESK Reply #28, 20 years ago
                  Quote from: MadeMyDay at Sep 05, 2006, 09:51 AM

                  I think the "read more"-link isn´t rendered. Output of debugger:

                  The [+link+] placeholder is only rendered if the content is truncated. If the content is not truncated, no link is rendered. If you wish to link to the document just use [~[+id+]~]

                  Not including a startID should mean it looks in the folder from which you’re calling it.

                  True
                    • 17883
                    • 1,039 Posts
                    The [+link+] placeholder is only rendered if the content is truncated. If the content is not truncated, no link is rendered. If you wish to link to the document just use [~[+id+]~]

                    hmm, but if I set up a ditto template like

                    ...
                    [+introtext+]
                    ...
                    [+link+]
                    


                    there is no read more link. Sure, there is nothing truncated, but... wink
                      • 12844
                      • 59 Posts
                      Quote from: Mark at Sep 06, 2006, 07:20 PM

                      Depth defaults have changed!

                      &descendentDepth is now &depth and defaults to 1
                      Aha! I even tried &descendentDepth!

                      Thanks for tidying this up. smiley

                      This discussion is closed to further replies. Keep calm and carry on.