We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18373 ☆ A M B ☆
    • 3,141 Posts
    Mark Hamstra Reply #1, 17 years ago
    Hey everyone,

    On a website I’m working on there is a section which shows contact information for employees of the client. The client requested the contact information to be shown on other pages also (specific to the subject it shows the right contact).

    To make this happen, the contact page is a container, and the various employees are children in that container. The child docs are being imported using Ajax where they are needed.

    I had imagined I could just use a simple ditto call to import the content of the children into the contact page, but I ran into a problem: it is not showing the full content, only a part of the html is shown. I believed there was a parameter to specify the length of the summary being shown, but I can’t seem to find it on the wiki.

    My call:
    [!Ditto? &startId=`9` &tpl=`Onze Mensen` &extenders=`summary`!]

    The template is simply ’[+summary+]’ - all styling is included in the child docs.

    Any ideas on how to get the full content on the contact page?
      Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

      Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      Mark Hamstra Reply #2, 17 years ago
      O.

      Fail.

      Why isn’t the [+content+] placeholder documented anywhere? tongue

      That placeholder fixed this, a minute after posting this topic. I’m sorry XD


      [fixed]
      (and added to the wiki)
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 3749
        • 24,544 Posts
        Quote from: markieham at Oct 18, 2009, 05:37 AM

        O.

        Fail.

        Why isn’t the [+content+] placeholder documented anywhere? tongue

        That placeholder fixed this, a minute after posting this topic. I’m sorry XD


        [fixed]
        (and added to the wiki)


        Thanks for the contribution. smiley


        BTW, It’s been listed in the second section (Document-specific placeholders) since 2006. wink
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting