We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32699 ☆ A M B ☆
    • 427 Posts
    I can easily paginate a folder with topics, but have yet to get it to split a single article into multiple pieces.

    It prints to about 8 pages and I need to break it up.

    I have placed the <!-- splitter --> throughout the doc.

    It just pulls up the entire doc...

    Do I have to split them into sub articles?

    Main Call:
    [[Ditto? &startID=`2` &display=`2` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags`]]
    <p>Showing <strong>[+start+]</strong> - <strong>[+stop+]</strong> of <strong>[+total+]</strong> Articles</p>
    <div id="ditto_pages"> [+previous+] [+pages+] [+next+] </div>
    <div id="ditto_pages"> </div>



    Currently I have a single container with the very long article in it, under the main call container.


    Using Red Hat Linux 4
    Kernel 2.6.9-67
    PHP 4.4.4 (yeah I know its dead in a few weeks)
    Ditto 2.1b3
    Apache/2.0.52
      Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

      Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com
      • 18397
      • 3,250 Posts
      To split a single article into multiple pages, a more appropriate snippet would be:
      http://modxcms.com/Pagination-Plugin-1.0.0-0.html
        • 27889
        • 415 Posts
        Perhaps can you use an automatic Table of content generator, there are two of them in the repository. I know that it isn’t pagination but it can help.
          MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
          MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]