- Liferay Beginner’s Guide
- Robert Chen Sandeep Nair Samir Bhatt
- 313字
- 2021-08-27 12:04:38
Time for action – installing a new theme and applying it to the portal
Now, you will install a new theme in Tomcat. Follow these steps to install the theme:
- Start your Liferay Portal server.
- Copy
7003OS-chapter-03\code\Cignex Neighbourhood-theme-6.0.11.1.war
from the downloaded code and place it in the/deploy
directory of Tomcat. You can find the deploy directory at the same level as your/TOMCAT_HOME
directory. - After placing the file, observe your Tomcat console. You will see the theme is being extracted. Once the theme is extracted and deploy on the server, you will see a message that 1 theme for Cignex Neighbourhood-theme is available for use.
- Once you get the message, go to your browser and log in with Liferay default admin credentials. Move the mouse over to the Manage option and click on Page. You will see the Manage Page screen.
- By default, the Pages tab will be selected; click on the Look and Feel tab next to Pages. You will see the interface displayed as shown in the following screenshot using which you can change the look and feel of the page:
- You will see the Cignex Neighbourhood Theme under the Available Themes option.
- Click on the theme to apply the theme on the portal.
- Once you click, you will see a success message on the page. Click on Return to Full Page link.
- You will notice that the portal logo on the top-left corner has changed from Liferay to CIGNEX Neighbourhood as displayed in the following screenshot:
What just happened?
In this theme, we have kept the majority of the look and feel similar to the Liferay Classic theme only. You can install and apply any theme by the above mentioned way.
Currently, we have applied the theme to all the pages of Liferay Community. However, it is also possible to apply the theme to an individual page as well.
推薦閱讀
- Arduino入門基礎(chǔ)教程
- Cortex-M3 + μC/OS-II嵌入式系統(tǒng)開發(fā)入門與應(yīng)用
- 新型電腦主板關(guān)鍵電路維修圖冊
- 辦公通信設(shè)備維修
- 電腦常見故障現(xiàn)場處理
- 嵌入式系統(tǒng)設(shè)計教程
- micro:bit魔法修煉之Mpython初體驗
- 單片機系統(tǒng)設(shè)計與開發(fā)教程
- Intel Edison智能硬件開發(fā)指南:基于Yocto Project
- 單片微機原理及應(yīng)用
- 單片機原理與技能訓(xùn)練
- 基于網(wǎng)絡(luò)化教學(xué)的項目化單片機應(yīng)用技術(shù)
- FPGA實驗實訓(xùn)教程
- 創(chuàng)客電子:Arduino和Raspberry Pi智能制作項目精選
- 筆記本電腦現(xiàn)場維修實錄