We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6991
    • 15 Posts
    Seems I have missed something very basic or the wiki? have followed all the steps but am not getting it to work!
    In a fresh install of modx 9.6.1 i tried to have ditto for tagging the blog entries.
    Followed all the steps here: http://wiki.modxcms.com/index.php/Category_Tagging_with_Ditto
    - Have made a new TV named just like the one wiki said so!
    - Made a ’blogs’ called container page with a child document tagged to ’bar1’ and ’Art Books&Music’
    - Enabled delimiter
    - Made a ’world’ named container parent along with ’city’ ’bar1’ ’bar2’ ’Art Books&music’ childs
    - Entered the following code to ’world’ page
    [!Ditto? &startID=`5` &summarize=`5` &total=`20` &tpl=`ditto_articles` &paginate=`1` &alwaysshow=`1` &sortBy=`createdon`  &sortDir=`DESC` &trunc=`1` &truncLen=`300` &commentsChunk=`` &displayArchive=`1` &paginateAlwaysShowLinks=`1` &descendentDepth=`1` &tagDelimiter=`,` &tagData=`tvcategoryOptions` &tagMode=`onlyTags` &tags=`World,City,Bar1,Bar2,ArtBooksMusic`!]


    -entered the following code to ’city’ page
    [!Ditto? &startID=`6` &summarize=`5` &total=`20` &tpl=`ditto_articles` &paginate=`1` &alwaysshow=`1` &sortBy=`createdon`  &sortDir=`DESC` &trunc=`1` &truncLen=`300` &commentsChunk=`` &displayArchive=`1` &paginateAlwaysShowLinks=`1` &descendentDepth=`1` &tagDelimiter=`,` &tagData=`tvcategoryOptions` &tagMode=`onlyTags` &tags=`City,Bar1,Bar2`!]


    - Added ’tv’ before the TV name as wiki suggests
    - Attached screenshot of document tree for some of you guys if i have made some stupid mistakes?

    One thing make me confuse is a relation of ’blogs’ document with ’world’ and its childs?

    Thank you in advance for any comments smiley
      • 25663 MODX Staff
      • 12,272 Posts
      What version of Ditto are you using? I’d suggest going to http://ditto.modxcms.com/ and looking at the tagging screencast there (and grabbing the latest development version from Mark’s site).
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 7231
        • 4,205 Posts
        The screencast is easy to follow and has the most up-to-date method. I also suggest looking at the demo site blog section, it has tagging enabled and is the starting point to the screencast.

        I am not sure, but I don’t think that the method in the wiki post is very clear.
          [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]
          • 6991
          • 15 Posts
          Thanks Ryan & dev_cw
          im using ditto carried with modx 9.6.1 official release so it is Ditto - 2.0.2 i think as it is mentioned in the snippets section.

          i used to follow wiki, documentation, and the demo installation snippets, chunks, TV’s but they all are presenting a widely different solutions and it makes me confuse and amazed at the same time that modx does similar task in various ways.

          im going to follow screen cast, thanks.
            • 14779
            • 256 Posts
            I followed the screen cast, and it’s working great! I would like to add one little feature. I would like to be able to edit the tags via the front end.
            Here is my setup:

            Basic Blogging system, working perfect.

            Add blog entry page uses NewsPublisher
            [!NewsPublisher? &folder=`29` &canpost=`Site Admins` &formtpl=`FormBlog` &footertpl=`Comments` &rtcontent=`tvblogContent`!]
            


            Tags are in a TV named ’tags’.
            chunk used for blog output template displays tags correctly.

            How do I set it up so the tags can be edited in the same form that the blog is entered in? (newspublisher call)
            I’m thinking I add something to the FormBlog chunk, but I don’t know what to add, or how to set up the TV.

            I’m using the latest version of everything.
              PM me to find out how you can get a FREE ipad 2!
              • 36592
              • 970 Posts
              Quote from: joshlfisher at Mar 10, 2009, 03:48 PM

              How do I set it up so the tags can be edited in the same form that the blog is entered in? (newspublisher call)
              NewsPublisher snippet can only create new documents.
              It can not edit them.
              Use FDM for editing.
                • 14779
                • 256 Posts
                please forgive my ineptitude, but I couldn’t find FDM on the site for download.

                Maybe I don’t need to directly edit the TV; Is there any way to populate a TV from the front end?
                  PM me to find out how you can get a FREE ipad 2!
                  • 20413
                  • 2,877 Posts
                  http://modxcms.com/forums/index.php/topic,33465.msg203540.html#msg203540

                  By using e.g. longtitle or other » doc tv as &tagData you can make tags front-end in newspublisher.
                    @hawproductions | http://mrhaw.com/

                    Infograph: MODX Advanced Install in 7 steps:
                    http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                    Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                    http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
                    • 14779
                    • 256 Posts
                    great info, thanks mrhaw!

                    I have another question:  How do I add another field to the Newspublisher form that will edit a TV, just like the content, or introtext field?

                    Edit: figured it out, using the description to hold a comma delimited list of tags.
                      PM me to find out how you can get a FREE ipad 2!
                      • 17389
                      • 19 Posts
                      Hey Dell, one thing you need to add to your snippet call in order to activate tagging is the extenders parameter as follows:

                      &extenders=`tagging`


                      I hope that solves your problem.