We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18367
    • 834 Posts
    Thanks again for the links hotdiggity,

    I did actually do several searches but nothing relevant came up.

    smiley

      Content Creator and Copywriter
      • 12379
      • 460 Posts
      Yeah, if you used the forum search feature then don’t bother - it’s useless. I Google the forum instead.
        Mostly harmless.
        • 18367
        • 834 Posts
        Gawd,

        this is so hard.

        I tried following the instructions here http://www.kunane.com/modx/ditto-tagging-and-virtual-categories.html

        even found a screencast in Ditto, but the quality was so poor I couldn’t see what he was typing. Plus he wizzed thru it so fast.

        Anyway, I’ve created a TV and call but it turns up the result No Documents Found

        Here’s the call
        [!Ditto? &parents=`2` &filter=`id,7,2||id,8,2` &extenders=`summary` &truncLen=`140` &orderBy=`menuindex ASC` &tpl=`blog-overview` &tagData=`MyTags` &tagSort=`0` &tagDelimiter=`,` &tagDisplayDelimiter=`, ` !]


        Here’s the chunk
        <div class="overview">
        <h3>[+longtitle+]</h3>
        [+summary+]
        [+link+]<br />
        <div class="tagsoverview">Tags: [+tags+]</div>
        </div>
        


        So where an i going wrong and is there a simpler way of constructing the call?

        Thanks
          Content Creator and Copywriter
          • 12379
          • 460 Posts
          Know the feeling - first time is the hardest, but once you crack it you’ll cruise thru’ future blog setups.

          The double pipes you have in that call should be a single pipe.

          More tried and test blog info here:

          http://modxcms.com/forums/index.php/topic,50511.msg294401.html#msg294401
          http://modxcms.com/forums/index.php/topic,49689.msg290101.html#msg290101
            Mostly harmless.
            • 18367
            • 834 Posts
            Hmm,

            couple of things.

            I copied the call from a instruction site and the id’s bear no resemblance to mine. I tried changing them with no luck.

            What do all the filter ids mean anyway, and do I need them?

            What’s the simplest call I can make to try and display the tag content?

            I figure because it’s saying No Documents Found that at least some part of it is working, it’s just not finding the info.

            Do I need Manager Manager?

            I’m using Evo 1.04
            smiley
              Content Creator and Copywriter
              • 18367
              • 834 Posts
              Making progress

              I scrapped my original call and replaced it with:
              [!Ditto? &parents=`240` &tpl=`blog-overview` &tagData=`MyTags` &tagDelimiter=`,` &tagMode=`onlyTags` &tags=`Analytics`!]


              Long story, I took bits from a dozen different tutes and added bits piece by piece testing continuously.

              Anyway, it seems to work, although I’m not sure entirely what I’ve done. I sough of understand the call above, but

              Still don’t know what all those other bits were for or do in the original call I tried.

              grin
                Content Creator and Copywriter
                • 18367
                • 834 Posts
                OK, next question, it’s all starting to come together, now I need some fine tuning help.

                I put all of my "categories" directly under the blog.

                I did this as I didn’t want the word "categories" showing up in the urls.

                Unfortunately now the blog home page displays all the Categories Titles as posts.

                Is there a way to stop the categories titles being displayed on the main page?

                cool



                  Content Creator and Copywriter
                  • 16278
                  • 928 Posts
                  Unless you want the categories to show up in menus elsewhere, the simplest way is to untick their "Show in menu" field and add &showInMenuOnly=`1` to your Ditto call.

                  If you need something more refined, you could use a filter to exclude the categories (Ditto filters filter things out rather than filtering them in).

                  You may find http://www.pogwatch.com/ditto/ditto-select-further.html and other examples on Pogwatch helpful.
                  smiley KP
                    • 18367
                    • 834 Posts
                    Yeh,

                    I do want them to show in menu’s elsewhere.

                    I tried a couple of the examples in the link with no luck.

                    Here’s one of the calls I tried

                    <p>[!Ditto? &parents=`22` &hideFolders`0`  &tpl=`library-template` &display=`10`  &paginate=`1` &paginateAlwaysShowLinks=`0`!]</p>


                    I tried it with both 1 and 0

                    I also tried
                      Content Creator and Copywriter
                      • 18367
                      • 834 Posts
                      oops, forgot the = sign.

                      Seems to have worked.

                      Thanks grin

                      Here’s how it’s looking

                      <p>[!Ditto? &parents=`22`  &hideFolders=`1`  &depth=`2` &tpl=`library-template` &display=`10`  &paginate=`1` &paginateAlwaysShowLinks=`0`!]</p>
                        Content Creator and Copywriter