Forum Discussion

Inactive User's avatar
Inactive User
6 years ago

How to display page descriptions in Freemarker

How do I display the page/category/tkb Description and Detailed Description in Freemarker? There don't seem to be any context objects for that.  [ Context Objects Docs ] 
  • Parshant's avatar
    6 years ago

    Inactive User,

    You can show it by

    ${coreNode.description}

    or by V2 API using

     

    SELECT description FROM boards WHERE id = '${coreNode.id}'
    SELECT description FROM categories WHERE id = '${coreNode.id}'