Trying to pick objects from 2 nodes using IEnumerable<DynamicNode>
I have a problem.
I need to pick the latest posts from 2 blogs within my site.
The problem is I don't fully understand the razor syntax (actually I am struggling).
I need the script to look at the root of the blogs and show the latest 2 postings This work fine if I only want to look into one blog. If I apply the second it duplicates the first blog post and ignores the variables.
Trying to pick objects from 2 nodes using IEnumerable<DynamicNode>
I have a problem.
I need to pick the latest posts from 2 blogs within my site.
The problem is I don't fully understand the razor syntax (actually I am struggling).
I need the script to look at the root of the blogs and show the latest 2 postings This work fine if I only want to look into one blog. If I apply the second it duplicates the first blog post and ignores the variables.
I am not guessing the syntax as var "promowatchposts" is ignored.
I also tried to break these scripts into 2 separate scripts that returned the same ( 2 lots of the same Blog 1 postings)
Any Ideas. Thank you.
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.