Forum Discussion

davidtwamley's avatar
15 years ago

Page Title from FreeMarker

I've seen how to retrieve page.name in FreeMarker. It returns a value like "BlogPage" which is really more of a template name. Is there a way to get at the actual title of the page (the value that ge...
  • AdamT's avatar
    15 years ago

    Hi, David.

     

    There is, but it depends on the page. For example, if you're on a board/blog/idea page, a category page or the community homepage, you can use coreNode.title to get the name. If you're on a message, however, you'll need to use page.context.thread.topicMessage.subject.

     

    Hope that helps!