We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23217
    • 44 Posts
    Hey all. I am somewhat new to modx, and totally new to ditto, so please pardon any blunders.

    I am working on a site where I will have multiple web users, and I want each web user to have a blog available to them. I have looked at ditto a bit, and am somewhat daunted. Anyone have a good suggestion about whether:
    1) This is the right way to do this
    2) There is an existing project or tutorial that shows an approach to this

    What I have gathered so far is that ditto rounds up "articles" under a given directory structure. That seems to imply that building each user a separate area in the manager is the way to go, but I am unsure about that as an approach.

    Any advice?

    Thanks in advance.

    P
      • 7231
      • 4,205 Posts
      Ditto is used to display the blog index. You can build a blog in MODx with a combination of Ditto to display the blog, Jot to handle user comments, NewsPublisher to add new blog posts (or use the manager itself for this, it is up to you).

      There is a working blog in the demo site, it may help to take it apart and see how it was put together. There are also a few tutorials (in the wiki and in the documentation), however, both of these are slightly out of date but the principal still stands so they are worth checking out anyway.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 23217
        • 44 Posts
        Thanks dev cw. I had looked at some of that stuff, but it seemed directed at a single user blogging set up. That is, one place for one blog with one user making posts (not comments) to the blog. Am I missing something?

        And I agree, I could build off it to generate a multiple user solution, but thought someone else might have already done this work.

        Again, thanks for the response
          • 4310
          • 2,310 Posts
          How many bloggers are you anticipating?
          If it’s say up to 20 then the current method of a folder each, using NewsPublisher for the page creation via the add-a-blog page and then Ditto to summarise should work.
          For more bloggers then it might be cumbersome and an alternative solution would be needed.
            • 23217
            • 44 Posts
            Thanks bunk58.

            Yeah, I am expecting every user (of which there should be millions ;-) to have a "blog" (really kind of a journal for the user, but with the potential for others to make comments). I kind of thought "one page per" might become cumbersome as well.

            Thanks again for the thoughts.
              • 4310
              • 2,310 Posts
              You might want to look at this thread.
              It seems to answer most of your requirements!
                • 23217
                • 44 Posts
                Thanks bunk58, I will check it out!