We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28376
    • 222 Posts
    I was wondering if there is a way to add content with code. So lets say I have a template called "myCbs" I want to programatically use that template and within that template it will have 5 TV’s attached to it. So keep in mind I want to add the content thru php using that template and the ability to append content for the TV’s.


    Also I want the ability to add the content to a parent.

    Is this possible.
      • 28376
      • 222 Posts
      Anybody that can help me with this would be great.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        I can’t make out what it is you are trying to do.

        Perhaps you should read through this http://www.sottwell.com/modx-from-the-inside.html and then you’ll have a better idea of what you can do, and how to ask for what you still don’t understand.
          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