We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17802
    • 190 Posts
    So... I downloaded and installed Ditto. I created 2 templates for my blog with html and css (a template for the index page and one for complete article pages). I created a chunk called DittoTemplate. I’ve been trying to exactly follow the instructions in the Ditto documentation... still I can’t get it to work. huh
    At the index page it says: No entries found.
    I hope someone can give me some clues.

    In the index page template I used a [*content*] tag. In the content area of the page based on this template I put: [[Ditto? &tpl=`DittoTemplate` &startID=`811` &summarize=`3`]]
    The id of my first article page is 812.
    Should I put any special tags/chunks/snippets/whatever in my article pages?
    I have a feeling I’m making a very obvious mistake here, since everyone says using Ditto is so easy. Still... I’d be grateful for any help smiley
      Thanks for MODx - I love it!
      • 11975
      • 2,542 Posts
      Hi,

      If you call your snippet with [[]] the page must be uncachable
      If you wish to call your snippet in a cached page you’ll have to use [!!]

      The startID must be considered from a hierarchical point of view.
      Try with with the Id of the folder containing your document and set the MultiLevel param.

      Hope that helps.

      :-)
        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
        • 17802
        • 190 Posts
        Quote from: heliotrope at Aug 02, 2006, 01:02 PM

        If you wish to call your snippet in a cached page you’ll have to use [!!]

        The startID must be considered from a hierarchical point of view.
        Try with with the Id of the folder containing your document and set the MultiLevel param.
        That helps indeed! It’s not perfect yet, but at least something is happening now grin
        Thanks a lot!

        Ermmm... and here’s another question (sorry if I’m being a terrible newbie...): the ’author’ placeholder is being replaced with : "Built-in Administration account", which doesn’t sound very sexy, right?! So how would I change this?
          Thanks for MODx - I love it!
        • Well, you didn’t make yourself a new manager user. If you really do want to continue using the default user, then at least go to the Users -> Manage Users part of the manager and fix the default user’s full name.
            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
            • 18397
            • 3,250 Posts
            Users->Manage Users->Admin->Full Name
              • 17802
              • 190 Posts
              Quote from: sottwell at Aug 02, 2006, 02:00 PM

              Well, you didn’t make yourself a new manager user. If you really do want to continue using the default user, then at least go to the Users -> Manage Users part of the manager and fix the default user’s full name.
              Brilliant, thanks. I didn’t bother to make a new user because I’m still only testing and getting used to MODx.
                Thanks for MODx - I love it!