We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2304
    • 14 Posts
    I am trying to create an application which has two templates. The first is the static home page. It contains some 5 image links which when clicked loads the second template. Each link has different content which is displayed in the second template.
    I have created the first template. This template displays a content from one document I have created. Now i have to create a second template and content for each links in the first template.
    How can I accomplish this with modx....
    Thanks in advance.....
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Create a document for each image, with the content you want, and assign the second template to them. Have the links in the images link to those documents.

      Turn your thinking around... you link to documents, documents are given templates. You don’t link to templates.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org