Changing the Default Site’s Name and Logo
Your Liferay instance comes out-of-the-box with a default site, called “Liferay” (with /guest
as its friendly URL). This site is the default landing page for your instance, so its details are directly tied to the instance’s settings.
Here, you’ll repurpose this site to become the new, public Clarity site.
Change the Site’s Logo
Log in as Kyle Klein, your instance’s administrator, so you can change the instance settings.
-
Access your Liferay instance and log in as Kyle Klein.
-
At the top of the screen, open the Global menu ( ) and click Control Panel → Instance Settings.
-
On the Instance Settings page, click Instance Configuration.
-
Download and unzip the Clarity site logo:
curl https://resources.learn.liferay.com/courses/latest/en/web-site-manager/site-settings/liferay-v6j4.zip -O
unzip liferay-v6j4.zip
-
On the Instance Configuration page, click the Change Logo button ( ).
-
Upload the image you downloaded (
ClarityLogo.png
) in the pop-up modal and click Done. -
Click Save.
Change the Site’s Name
Now change the default “Liferay” to the appropriate site name.
-
While in Instance Configuration, click the General scope.
-
In the Name field, enter Clarity.
Change Other Important Instance Settings
You should also change the home URL and email domain to more appropriate terms for your site.
-
On the same General configuration page, change the domain in the Mail Domain field to
clarityvisionsolutions.com
. -
Enter
/web/p
into the Home URL field.You’ll change your site’s friendly URL in the next exercise, so you should change the home URL now so that your instance correctly redirects users with the change.
-
Click Save at the bottom of the page.
Now your site’s general details properly reflect the Clarity brand. Revisit the default home page (localhost:8080/web/guest
, for a self-hosted or Docker instance) to see the changes.
The URL for this site still doesn’t fit Clarity yet though, because it still uses /guest
. Next, you’ll change that setting and others for the site.