We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5091
    • 332 Posts
    I was following the Modx demo site from the opensourcecms to walk my way through the Blog page on my site but is having a brain fart.

    What I wanted to show is like so and they are all blog articles.
    +Blog /* container */
    +Topic X /* container */
    - topic X 1
    - topic X 2
    - topic X 3

    +Topic Y /* container */
    - topic Y 1
    - topic Y 2
    and the result here: http://tinyurl.com/33xa6o (note: on the right column however it’s just plain html markup for the moment)

    In Modx demo site it’s represent in such manner:

    News: /* in h3 tag */
    - Mini-Blog HOWTO

    Most Recent: /* in h3 tag */
    - Ajax 2006.09.26

    But I see that it used two different snippets, one is [[Ditto]] (for News’schildren) and the other [[ListIndexer]] (for Most Recent’s children) and the <h3> tag is just plain html.

    If I have my categories markup like so with this Ditto calls

    [[Ditto? &startID=`9` &summarize=`2` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags`]]

    and the chunk:


    <ol> <li><a href="[~[+id+]~]" title="[+title+]">[+title+]<span>posted on [+date+] | <a href="[~[+id+]~]#commentsAnchor">Comments
    ([!Jot?&docid=`[+id+]`&action=`count-comments`!])</a></span></li>
    </ol>

    the result: http://tinyurl.com/2loqpc

    As you can see, the output is only for the blog entries and it doesn’t show the <h3>. The demo page example doesn’t make the h3 a ditto call. How do I call the h3 from Ditto (and preferable without link on second thought, it probably needs links as the articles will be built up over the time and I need an archive for it (archive grouped with categories too)? Should I put the <h3> call in chunk or in the category containers? I was thinking something more along with Reflect ’tplContainer’, but I don’t know how to go about doing it:


    TIA!
    tgp