maandag 16 juli 2012

Some alterations to Liferay after the clean install


  • Goto Portal Settings and
    • Change the way users authenticate.
    • Replace logo and set correct timezone.
    • Remove the role Power User for newly created users.
  • Change the Site Settings so the site is active and private.
  • Change the domain name of the default portal, the webId
    • Before a clean install you can extend the property in the portal-ext.properties by setting company.default.web.id=<yourdomain.com>
    • After an install you can change this by UPDATE Company SET webId = 'new-web-id.com' WHERE webId = 'liferay.com';
  • Remove the pre population of the username in the sign-in portlet
    • company.login.prepopulate.domain=false
  • Remove the footer "Powered by Liferay"
    • /tomcat/webapps/ROOT/html/themes/classic/templates/portal_normal.vm
  • Remove the chat-portlet from web apps directory in Tomcat to remove the chat bar on the bottom of the page for signed in users.
  • Remove the top docbar for specific roles. See this blog.
    • ROOT/html/themes/classic/templates/portal_normal.vm
    • the part surrounding #dockbar()
  • In the portal-ext.properties, force that new users do not get public and private pages. See here.
    • layout.user.private.layouts.enabled=false
    • layout.user.public.layouts.enabled=false
  • Add sign-out option to the template
    • ROOT/html/themes/classic/templates/portal_normal.vm
    • #if ($is_signed_in)
      • <a href="$sign_out_url" id="sign-in" rel="nofollow">$sign_out_text</a>
    • #end

Geen opmerkingen:

Een reactie posten