Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How get in a macro a n random nodes?
Solved: foreach (var page in startNode.Children.Where("Visible").Random(itemNumber))
Imports in macro:
@using System.Collections;
@using umbraco.MacroEngines;
@inherits umbraco.MacroEngines.DynamicNodeContext
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Get Random(n) Child Nodes: How?
How get in a macro a n random nodes?
Solved: foreach (var page in startNode.Children.Where("Visible").Random(itemNumber))
Imports in macro:
@using System.Collections;
@using umbraco.MacroEngines;
@inherits umbraco.MacroEngines.DynamicNodeContext
is working on a reply...