rendering doctypes that are not children in a different template
Hi
I have a doctype called program that is a child of doctype programs. There are many content nodes using the program doc type - they are all children of programs content node.
I would like to show the same program content nodes in another template(doctype) in my site called live-on-the-line. It is a sibling of programs.
Is it possible to list items and their model properties if they are not a child of the doc type?
Here is what I am trying. I do not get any errors from intellisense but no content appears. I can see the properties in intellisense but it doesn't seem I am linking to the actual content nodes. How do I do this?
I think you have a slight bug.. what you need to do is get all of the progList (which you've done) and then loop through these and then inside that loop loop out the programs.
rendering doctypes that are not children in a different template
Hi
I have a doctype called program that is a child of doctype programs. There are many content nodes using the program doc type - they are all children of programs content node.
I would like to show the same program content nodes in another template(doctype) in my site called live-on-the-line. It is a sibling of programs.
Is it possible to list items and their model properties if they are not a child of the doc type?
Here is what I am trying. I do not get any errors from intellisense but no content appears. I can see the properties in intellisense but it doesn't seem I am linking to the actual content nodes. How do I do this?
Thanks
Hi,
I think you have a slight bug.. what you need to do is get all of the progList (which you've done) and then loop through these and then inside that loop loop out the programs.
It will likely be something along the lines of:
}
great! thanks for this, sometimes it's the small things that are the issue.
Glad it's sorted! Sometimes you can stare a problem for too long. Rubber ducking or posting of forums often clears the blockage - happy to help!
Steve
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.