Forum Discussion
iftomkins
12 years agoMaven
Ok, so ${coreNode.ancestors[0].id} returns the id of the first ancestor. How do you return the id of the page you're currently on? Nothing I try with coreNode is successful. I even tried using coreNode.ancestors?children[0], but it throws a freemarker error. Any help would be much appreciated.
- AdamN12 years agoKhoros Oracle
Hello, please see my response here:
http://lithosphere.lithium.com/t5/developers-discussion/Get-ID-of-current-category/m-p/125259#M4715