Darren
-
3/26/2012 9:00:54 PM
Standard Repeater - just select articles from first child?
In my system I have a number of newsletters that are grouped by dates with Articles under them.
- Newsletter A (page) - 10 Jan (page) - Article A (article) - Article B (article) - Article C (article) - 20 Jan (page) - Article A (article) - Article B (article) - Article C (article) - Newsletter B (page) - 17 Jan (page) - Article A (article) - Article B (article) - Article C (article)
The design of the Newsletter page is to take content and display the latest edition - so the first child page and related articles under it.
There are a number of repeaters - one to display the date - which is taken from the DocumentName of the latest edition with (ORDER BY nodeorder and select top 1 documents) the path for this is /Newsletters/Newsletter A/%.
However the article repeaters I currently need to change the path to match the latest article and the repeater needs to be updated each time - /Newsletters/Newsletter A/Current Edition/%
What I'm really after is /Newsletters/Newsletter A/<first child>/% so I don't need to
Is there a way to do this?
|