Forum Discussion
qinglau
11 years agoMentor
Hi HaiDong,
1. rootPath is the current node level. The code is
<#if nodeType == 'board'> <#assign rootType = "blogs"> <#assign rootPath = "blogs/id/" + rootNodeId/> <#else> <#assign rootType = "categories"> <#assign rootPath = "categories/id/" + rootNodeId/> </#if>
2. latestFeatured(coredNode.id) will return featured topic ID in "init" format.
3. There is no CSS blocking the code.
Is there a way to convert the int value into string value? and then i can compare "featuredID !=msg.id" Currently, i got error said only compare string to string or int to int error.
Thank you,
Cheers,
Qing
Related Content
- 11 years ago