Creating 2 lists and then determining which to choose
I have a tree structure that uses 2 different types of "Detail Page" nodes. One has dates and one has non-date "Detail Page" nodes. I need to determine which list to show depending on if the children have the date property or not of the parent node that has the doctype of 'ListParent'.
I am able to create a list of the nodes, BUT I need to determine which list to show.
This is what I ultimate want:
Parent Node 1 (Doctype of 'ListParent') - Node One (non date) - Node Two(non date) - Node Three(non date)
Parent Node 2 (Doctype of 'ListParent') - Node One (date) - Node Two(date) - Node Three(date)
I am REALLY close with my code but I just need a little help determining which to show. This is what I have so far below. I just need the IF statement to determine which list to show.
Creating 2 lists and then determining which to choose
I have a tree structure that uses 2 different types of "Detail Page" nodes. One has dates and one has non-date "Detail Page" nodes. I need to determine which list to show depending on if the children have the date property or not of the parent node that has the doctype of 'ListParent'.
I am able to create a list of the nodes, BUT I need to determine which list to show.
This is what I ultimate want:
Parent Node 1 (Doctype of 'ListParent')
- Node One (non date)
- Node Two(non date)
- Node Three(non date)
Parent Node 2 (Doctype of 'ListParent')
- Node One (date)
- Node Two(date)
- Node Three(date)
I am REALLY close with my code but I just need a little help determining which to show. This is what I have so far below. I just need the IF statement to determine which list to show.
Any help is GREATLY appreciated.
is working on a reply...