I've got a content item called Knowledgebase that contains several articles. I'm trying to work on an XSLT document rather than a .NET User Control to show these nodes. I don't want to use currentPage as the default loop over since I ONLY want it to loop over Knowledgebase articles. I have the following code working:
Looping through Child Nodes of Specific Content
I've got a content item called Knowledgebase that contains several articles. I'm trying to work on an XSLT document rather than a .NET User Control to show these nodes. I don't want to use currentPage as the default loop over since I ONLY want it to loop over Knowledgebase articles. I have the following code working:
The problem is, I don't want the parent ID hardcoded - I want to be able to copy and paste this into other sites.
Thanks in advance for any help.
Also, does Umbraco keep track of the number of "hits" an item receives? Is it possible to sort the nodes by most popular? Thanks!
Could you add a content picker to your Home Page Document, and on each of your sites select the Knowledgebase document?
That way, in your XSLT, you could grab the home node, find the value of that field, and you would have your Knowledgebase document.
is working on a reply...