<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay 7.3 FreeMarker display username using Web Content template</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119212623" />
  <subtitle>Liferay 7.3 FreeMarker display username using Web Content template</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119212623</id>
  <updated>2026-04-05T08:45:45Z</updated>
  <dc:date>2026-04-05T08:45:45Z</dc:date>
  <entry>
    <title>RE: Liferay 7.3 FreeMarker display username using Web Content template</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119294564" />
    <author>
      <name>Nick Burton</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119294564</id>
    <updated>2020-06-02T08:52:33Z</updated>
    <published>2020-06-02T08:52:33Z</published>
    <summary type="html">Just a thought ... This sort of script would be useful to have as a built-in feature.  Perhaps a default admin page that can be visited on every virtual instance.  </summary>
    <dc:creator>Nick Burton</dc:creator>
    <dc:date>2020-06-02T08:52:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 FreeMarker display username using Web Content template</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119294210" />
    <author>
      <name>Nick Burton</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119294210</id>
    <updated>2020-06-02T08:00:08Z</updated>
    <published>2020-06-02T08:00:08Z</published>
    <summary type="html">Thanks, everyone.</summary>
    <dc:creator>Nick Burton</dc:creator>
    <dc:date>2020-06-02T08:00:08Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 FreeMarker display username using Web Content template</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119273558" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119273558</id>
    <updated>2020-05-29T08:47:07Z</updated>
    <published>2020-05-29T08:47:07Z</published>
    <summary type="html">I have used this fork recently and it works at least with 7.3.2:&lt;br /&gt;&lt;a href="https://gist.github.com/bmvakili/b5d871b4cbc4ebbbe0a0"&gt;https://gist.github.com/bmvakili/b5d871b4cbc4ebbbe0a0&lt;/a&gt;&lt;br /&gt;I think, some issues with the old code were fixed there.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-05-29T08:47:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 FreeMarker display username using Web Content template</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119272614" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119272614</id>
    <updated>2020-05-29T06:09:22Z</updated>
    <published>2020-05-29T06:09:22Z</published>
    <summary type="html">Maybe &lt;a href="https://liferay.dev/blogs/-/blogs/the-magic-template-variable-dumper-script-for-liferay-7"&gt;James&amp;#39; Magic Template Dumper helps&lt;/a&gt; - it might need some adaptation for the latest version, but the approach might still work. And then, the information would come from the currently running system, e.g. be accurate and up to date.</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2020-05-29T06:09:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 FreeMarker display username using Web Content template</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119268784" />
    <author>
      <name>Lee Jordan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119268784</id>
    <updated>2020-05-28T20:21:11Z</updated>
    <published>2020-05-28T20:21:11Z</published>
    <summary type="html">There is this for the theme but for templates the documentation is lacking ...&lt;a href="https://help.liferay.com/hc/en-us/articles/360032627372-Freemarker-Variable-Reference-Guide"&gt;https://help.liferay.com/hc/en-us/articles/360032627372-Freemarker-Variable-Reference-Guide&lt;/a&gt;</summary>
    <dc:creator>Lee Jordan</dc:creator>
    <dc:date>2020-05-28T20:21:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 FreeMarker display username using Web Content template</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119216592" />
    <author>
      <name>Nick Burton</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119216592</id>
    <updated>2020-05-21T19:49:36Z</updated>
    <published>2020-05-21T19:49:36Z</published>
    <summary type="html">Thank you very much.${user.getFirstName()}  worked perfectly.&lt;br /&gt;When I search for Liferay 7.3 variables I get different versions of them.  Is there a page that has the current list of variable options?&lt;br /&gt;Thanks again.</summary>
    <dc:creator>Nick Burton</dc:creator>
    <dc:date>2020-05-21T19:49:36Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 FreeMarker display username using Web Content template</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119214199" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119214199</id>
    <updated>2020-05-21T17:04:28Z</updated>
    <published>2020-05-21T17:04:28Z</published>
    <summary type="html">That&amp;#39;s the name of the author, not the name of the current user.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-05-21T17:04:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 FreeMarker display username using Web Content template</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119213869" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119213869</id>
    <updated>2020-05-21T17:03:45Z</updated>
    <published>2020-05-21T17:03:45Z</published>
    <summary type="html">${user.getFirstName()}  should work.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-05-21T17:03:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 FreeMarker display username using Web Content template</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119215729" />
    <author>
      <name>Mohammed Yasin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119215729</id>
    <updated>2020-05-21T17:01:42Z</updated>
    <published>2020-05-21T17:01:42Z</published>
    <summary type="html">Hi , You can try below code&lt;br /&gt;.vars[&amp;#39;reserved-article-author-name&amp;#39;].data</summary>
    <dc:creator>Mohammed Yasin</dc:creator>
    <dc:date>2020-05-21T17:01:42Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7.3 FreeMarker display username using Web Content template</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119212622" />
    <author>
      <name>Nick Burton</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119212622</id>
    <updated>2020-05-21T13:40:56Z</updated>
    <published>2020-05-21T13:40:56Z</published>
    <summary type="html">Version:  Liferay 7.3&lt;br /&gt;How do I get Freemarker to display the user&amp;#39;s (first) name within Web Content using a custom template?&lt;br /&gt;Use Case:  &amp;lt;p&amp;gt;Welcome, ${userName}.&amp;lt;/p&amp;gt;</summary>
    <dc:creator>Nick Burton</dc:creator>
    <dc:date>2020-05-21T13:40:56Z</dc:date>
  </entry>
</feed>
