Getting DynamicNodeList from a common functions file
I'm using a specific set of nodes in several places on my site. I'ds like to drop the logic for them into my common functions file. My think ing would be something like this
public static DynamicNodeList news(int pageId) { DynamicNodeList returnValue = new DynamicNodeList(); returnValue = Model.NodeById(pageId).AncestorOrSelf(1).Descendants("News"); return returnValue; }
Getting DynamicNodeList from a common functions file
I'm using a specific set of nodes in several places on my site. I'ds like to drop the logic for them into my common functions file. My think ing would be something like this
Calling
This is not working at all
or course
I knew that (why does delete not work here?)
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.