Hello,
I need to create a snippet or find one that will call information from another folder of documents in Modx. I am not a programmer and I am not sure how to make this happen.
In essence I would like to have a current events section on my home page that I can add to along the side of my index page that I would be able to just enter into a different folder in my manager.
does that make sense?
Can someone help?
-
☆ A M B ☆
- 24,524 Posts
Indeed, that’s what the Ditto snippet is for. Basic Ditto call:
where xx is the document ID of the parent document that contains your article documents in the Document Tree.
Awesome!
Can I make it so that the title is not linked and it shows the entire chunk of text without the date & created by. I looked through the code but I dont want to screw around with it too much.
Your help is much appreciated!
Hi Again,
I took your advice and read how to make custom CHUNK. I am not sure what this means?
&tpl=`DittoTemplate`
to your snippet call and Ditto will use your custom template
I am a complete moron so the simpler the better. Sorry for all the questions,.
Thanks for all your help!!
I got it!