<?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>Hide Home Page Image Fragment After Sign in for Role User</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121773594" />
  <subtitle>Hide Home Page Image Fragment After Sign in for Role User</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121773594</id>
  <updated>2026-04-05T18:39:43Z</updated>
  <dc:date>2026-04-05T18:39:43Z</dc:date>
  <entry>
    <title>RE: Hide Home Page Image Fragment After Sign in for Role User</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121850082" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121850082</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2023-06-08T05:40:30Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You have differents solutions.&lt;/p&gt;
&lt;p&gt;First, you can redirect after login in a another page (landing page).&lt;/p&gt;
&lt;p&gt;After, you can do like the login portlet, the portlet can generate
  nothing for a known user.&lt;/p&gt;
&lt;p&gt;In the past, we do that in freemarker with an ADT or the template of
  a content.&lt;/p&gt;
&lt;p&gt;Now with a fragment, you can create your own fragment and generate
  the content only for the guests.&lt;/p&gt;
&lt;p&gt;The best would be to create a container fragment with a drop zone
  that would generate content only for the guests. (you can use
  freemarker in fragment with the alternative square braquet syntax)&lt;/p&gt;
&lt;p&gt;Eric.&lt;/p&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2023-06-08T05:40:30Z</dc:date>
  </entry>
  <entry>
    <title>Hide Home Page Image Fragment After Sign in for Role User</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121773593" />
    <author>
      <name>Anish Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121773593</id>
    <updated>2023-05-09T19:00:20Z</updated>
    <published>2023-05-09T07:53:00Z</published>
    <summary type="html">&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I would like hide the Image Fragment showing in the Liferay Home page
  after user is signed in to the portal.&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;Power User&lt;/strong&gt; should be able to see the Fragment, Only
  need to hide for users having role &lt;strong&gt;User&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I know we can hide the fragment for different views (Desktop, Mobile,
  ...) from the page layout edit option.&lt;/p&gt;
&lt;p&gt;How we can hide the fragment from home page after user is Signed in
  to the portal?&lt;/p&gt;
&lt;p&gt;I am using Liferay Portal 7.4.3 version&lt;/p&gt;</summary>
    <dc:creator>Anish Kumar</dc:creator>
    <dc:date>2023-05-09T07:53:00Z</dc:date>
  </entry>
</feed>
