We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8425
    • 159 Posts
    Hello,
    I’m looking into implementing a magazine like-feature in MODx. Each page (document) has its own layout which can output XML. I’m looking into Ditto as a easy way to put the pages (documents) together. Is it possible to associate a custom template for each ditto element?
    Thanks in advance for any ideas...

    EclipseTalk
      • 25483
      • 741 Posts
      ronaldlokers Reply #2, 18 years ago
      You could create a Template Variable where you can put a class name in, then you lett output that with ditto as a classname for a div. That way you can style every document different.

      I don’t know if it is possible to choose a real different template with every document.
        with regards,

        Ronald Lokers
        'Front-end developer' @ h2o Media