SlideShare a Scribd company logo
Step by Step Guide to Create Theme for
Liferay DXP 7
Introduction of Liferay Digital Experience Platform
(DXP) 7
We have been working with Liferay platform ever since the release of Liferay
3.6 for developing enterprise web applications and over this time , not only
we have seen the platform evolve and grow significantly with each release, it
has also been recognized as a leader in the “Magic Quadrant for Horizontal
Portals”– an yearly publication from Gartner ( A leading IT research firm), for
the fifth year in a row.
With introduction of Liferay Digital Experience Platform (DXP) 7, creation of
custom themes became a complex process, compared to Liferay 6.2 where
themes can be easily created using Liferay developer studio and Eclipse.
Mainly 3 steps are included:
• Prerequisite (i.e. environment) to start theme development
• Steps to build theme.
• Deploy theme
Step by Step Guide for Creating Your Own Custom
Theme for Liferay 7.0.
Setup of Liferay Theme
Theme generator has few inline dependencies. To make theme generator
work, you need to follow following steps to resolve its dependencies.
• Uninstall latest version of node & Ruby and Rails if installe
• Install Node v4.2.2 via the link –
https://nodejs.org/download/release/v4.2.2/node-v4.2.2-x64.msi
• Open the Command Prompt and Check the node version,
=> Type command –
1 node –v
Check for output – v4.2.2
Setup NPM environment by following below steps:
=> Open it in Command Prompt (CMD)
=> Go to C:Users {current User} for Example: C:Usersdharam.mali
=> Type
1 copy NUL .npmrc
=> You can see-> .npmrc file is created at C:Usersdharam.mali
=> Open .npmrc file and add following path:
prefix=c:Usersdharam.mali.npm-packages
=>NPM_PACKAGES (Add new System Variable) = C:Users
dharam.mali.npm-packages
=>NODE_PATH (Add new System Variable) =
%NODE_PATH%;c:Usersdharam.mali.npm-packagesnode_modules
=> Add to (user variable) PATH = %NPM_PACKAGES%
Close the Command Prompt (CMD) and open again with Administrator, now
Install Yeoman and gulp globally by executing the following command
(It will take some time)
1 npm install -g yo gulp
Now you’re ready to install the Themes Generator. Install it by executing this
command:
Once everything is installed without error, then install Sass on Windows.
Install Ruby Sass and Compass by below steps
Download Ruby from: http://rubyinstaller.org/downloads/
=> Use the latest version: Ruby 2.3.1 (x64)
1 npm install -g generator-liferay-theme
Liferay Theme Installation:
a. Install it in Program file
b. Make sure to tick
i. “Add Ruby executable to you PATH
ii. Associate .rb and……
Step by step guide to create theme for liferay dxp 7
iii. Open CMD with administrator, type
Output: 2.5.1
Now install SASS Compiler for CSS
a. To avoid error we will change source path for Ruby,
=> Open CMD with administrator, type:
b. Install
1 gem -v
1 gem sources -a http://rubygems.org/
1 gem install sass compass
Now it’s time to create theme!
Go to directory when you want to create your theme: (for Example:
E:projectsliferay-developer-studioworkspaceliferay-workspacethemes)
a. Open CMD with Administrator,
type :
1 yo liferay-theme
Create New Theme name ”MyFirstTheme”
b. Now your theme is created, see folder created named “MyFirstTheme”
c. Go to your theme folder E:projectsliferay-developer-
studioworkspaceliferay-workspacethemesmyfirsttheme-theme
d. In CMD type:
1 npm install
Go to your theme folder in cmd, e.g. E:projectsliferay-developer-
studioworkspaceliferay-workspacethemesmyfirsttheme-theme
Type :
Deploy theme in Liferay
1 gulp build
Step by step guide to create theme for liferay dxp 7
Once you get message “Finished ‘build’ after 17 s” type:
1 gulp deploy
Wrap-Up
In this PPT, we have provided step by step Installation guide and error free
solution for developers which helps in time efficient and user friendly
installation of theme in Liferay 7.
Talk to our Liferay consultant to know more about Liferay DXP(Digital
Experience Platform).
Original Source :
http://www.azilen.com/blog/step-by-step-guide-to-create-theme-for-liferay-
dxp-7/
Thanks You
www.azilen.com
Let us know if you have any Question!
info@azilen.com | +1-972-325-2243

More Related Content

What's hot (20)

PDF
Make JSF more type-safe with CDI and MyFaces CODI
os890
 
PDF
GR8Conf 2011: Grails, how to plug in
GR8Conf
 
PDF
Java modularity: life after Java 9
Sander Mak (@Sander_Mak)
 
PDF
Spring 4 Web App
Rossen Stoyanchev
 
KEY
Developing Mobile HTML5 Apps with Grails
GR8Conf
 
PPT
Play framework
sambaochung
 
PDF
Vert.x - Tehran JUG meeting Aug-2014 - Saeed Zarinfam
Saeed Zarinfam
 
PDF
Migrating to Java 9 Modules
Sander Mak (@Sander_Mak)
 
PPTX
Project Presentation on Advance Java
Vikas Goyal
 
PDF
Spring 4 on Java 8 by Juergen Hoeller
ZeroTurnaround
 
PPTX
Workshop Framework(J2EE/OSGi/RCP)
Summer Lu
 
PDF
Java Modularity: the Year After
Sander Mak (@Sander_Mak)
 
PDF
MyFaces CODI and JBoss Seam3 become Apache DeltaSpike
os890
 
PDF
Spring Framework 4.0 - The Next Generation - Soft-Shake 2013
Sam Brannen
 
PDF
Apache DeltaSpike the CDI toolbox
Antoine Sabot-Durand
 
PPTX
Modularity of the Java Platform (OSGi, Jigsaw and Penrose)
Martin Toshev
 
PDF
Kandroid for nhn_deview_20131013_v5_final
NAVER D2
 
PDF
MyFaces CODI Conversations
os890
 
PDF
Apache Aries Overview
Ian Robinson
 
PPTX
Intro to OSGi
Tricode (part of Dept)
 
Make JSF more type-safe with CDI and MyFaces CODI
os890
 
GR8Conf 2011: Grails, how to plug in
GR8Conf
 
Java modularity: life after Java 9
Sander Mak (@Sander_Mak)
 
Spring 4 Web App
Rossen Stoyanchev
 
Developing Mobile HTML5 Apps with Grails
GR8Conf
 
Play framework
sambaochung
 
Vert.x - Tehran JUG meeting Aug-2014 - Saeed Zarinfam
Saeed Zarinfam
 
Migrating to Java 9 Modules
Sander Mak (@Sander_Mak)
 
Project Presentation on Advance Java
Vikas Goyal
 
Spring 4 on Java 8 by Juergen Hoeller
ZeroTurnaround
 
Workshop Framework(J2EE/OSGi/RCP)
Summer Lu
 
Java Modularity: the Year After
Sander Mak (@Sander_Mak)
 
MyFaces CODI and JBoss Seam3 become Apache DeltaSpike
os890
 
Spring Framework 4.0 - The Next Generation - Soft-Shake 2013
Sam Brannen
 
Apache DeltaSpike the CDI toolbox
Antoine Sabot-Durand
 
Modularity of the Java Platform (OSGi, Jigsaw and Penrose)
Martin Toshev
 
Kandroid for nhn_deview_20131013_v5_final
NAVER D2
 
MyFaces CODI Conversations
os890
 
Apache Aries Overview
Ian Robinson
 
Intro to OSGi
Tricode (part of Dept)
 

Similar to Step by step guide to create theme for liferay dxp 7 (20)

PPTX
Rational Rhapsody 8.3 with Cygwin and iFixes (www.executablembse.com)
Fraser Chadburn
 
PPTX
IBM Rational Rhapsody 8.3.1 install guide with Cygwin for Executable MBSE
Fraser Chadburn
 
PDF
Getting Started with Playwright: A Beginner-Friendly Introduction & Setup Guide
Shubham Joshi
 
PPTX
IBM Rational Rhapsody 8.4 install guide (including Cygwin and obtaining an ev...
Fraser Chadburn
 
PPTX
Installing Installing IBM Rational Rhapsody Designer and Architect for MBSE
Fraser Chadburn
 
PPTX
Installing Rational Rhapsody Designer 8.2 or 8.2.1 for Executable MBSE
Fraser Chadburn
 
DOCX
Install Guide
Santosh Kiran Beyagudem
 
PDF
Front end workflow with yeoman
hassan hafez
 
PPTX
How to Develop Progressive Web Apps in Flutter – Step by Step Guide.pptx
BOSC Tech Labs
 
PPTX
Laravel Crud Tutorial Basic Step by Stepy S
christopherneo4
 
DOCX
.Net framework 4.5 on raspberry pi
Nguyen Huu Thien An
 
DOCX
.Net framework 4.5 on raspberry pi
Nguyen Huu Thien An
 
PPTX
Drupal 8 - Improving your development workflow
valuebound
 
PPTX
Modern web technologies
Simeon Prusiyski
 
PDF
Dependent things dependency management for apple sw - slideshare
Cavelle Benjamin
 
PDF
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
Luis Rodríguez Castromil
 
PDF
Lesson 02 - React Native Development Environment Setup
University of Catania
 
PPTX
Robot Framework
Onur Baskirt
 
PPTX
Cross Browser Automation Testing Using Watir
Sarah Elson
 
PPTX
A Fabric/Puppet Build/Deploy System
adrian_nye
 
Rational Rhapsody 8.3 with Cygwin and iFixes (www.executablembse.com)
Fraser Chadburn
 
IBM Rational Rhapsody 8.3.1 install guide with Cygwin for Executable MBSE
Fraser Chadburn
 
Getting Started with Playwright: A Beginner-Friendly Introduction & Setup Guide
Shubham Joshi
 
IBM Rational Rhapsody 8.4 install guide (including Cygwin and obtaining an ev...
Fraser Chadburn
 
Installing Installing IBM Rational Rhapsody Designer and Architect for MBSE
Fraser Chadburn
 
Installing Rational Rhapsody Designer 8.2 or 8.2.1 for Executable MBSE
Fraser Chadburn
 
Front end workflow with yeoman
hassan hafez
 
How to Develop Progressive Web Apps in Flutter – Step by Step Guide.pptx
BOSC Tech Labs
 
Laravel Crud Tutorial Basic Step by Stepy S
christopherneo4
 
.Net framework 4.5 on raspberry pi
Nguyen Huu Thien An
 
.Net framework 4.5 on raspberry pi
Nguyen Huu Thien An
 
Drupal 8 - Improving your development workflow
valuebound
 
Modern web technologies
Simeon Prusiyski
 
Dependent things dependency management for apple sw - slideshare
Cavelle Benjamin
 
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
Luis Rodríguez Castromil
 
Lesson 02 - React Native Development Environment Setup
University of Catania
 
Robot Framework
Onur Baskirt
 
Cross Browser Automation Testing Using Watir
Sarah Elson
 
A Fabric/Puppet Build/Deploy System
adrian_nye
 
Ad

More from Azilen Technologies Pvt. Ltd. (20)

PDF
Software Product Development for Startups.pdf
Azilen Technologies Pvt. Ltd.
 
PPTX
How Chatbots Empower Healthcare Ecosystem?
Azilen Technologies Pvt. Ltd.
 
PPTX
[Step by-step guide] configure document generation functionality in ms dynami...
Azilen Technologies Pvt. Ltd.
 
PPTX
How to overcome operational challenges in getting consistent beacon behavior
Azilen Technologies Pvt. Ltd.
 
PPTX
Liferay dxp – the good, the bad and the ugly
Azilen Technologies Pvt. Ltd.
 
PPTX
Realm mobile platform – explore real time data synchronization capabilities
Azilen Technologies Pvt. Ltd.
 
PPTX
A step by step guide to develop temperature sensor io t application using ibm...
Azilen Technologies Pvt. Ltd.
 
PPTX
How to create an angular 2.0 application in liferay dxp to fetch the ootb adv...
Azilen Technologies Pvt. Ltd.
 
PPTX
Register Virtual Device and analyze the device data
Azilen Technologies Pvt. Ltd.
 
PPTX
Analytics and etl based bi solutions
Azilen Technologies Pvt. Ltd.
 
PPTX
Advanced risk management & mitigation system
Azilen Technologies Pvt. Ltd.
 
PPTX
Server driven user interface (sdui) – framework for i os applications!
Azilen Technologies Pvt. Ltd.
 
PPTX
How to integrate portlet as widget in liferay to any website application
Azilen Technologies Pvt. Ltd.
 
PPTX
A walkthrough of recently held wwdc17
Azilen Technologies Pvt. Ltd.
 
PPTX
How wearable devices are changing our lives
Azilen Technologies Pvt. Ltd.
 
PPTX
iPad Application as Return Process Automation Solution for eCommerce Store
Azilen Technologies Pvt. Ltd.
 
PPTX
[Part 3] automation of home appliances using raspberry pi – all set to automa...
Azilen Technologies Pvt. Ltd.
 
PPTX
Rfid systems for asset management — the young technology on its winning path
Azilen Technologies Pvt. Ltd.
 
PPTX
[Part 2] automation of home appliances using raspberry pi – implementation of...
Azilen Technologies Pvt. Ltd.
 
PPTX
[Part 1] automation of home appliances using raspberry pi – software installa...
Azilen Technologies Pvt. Ltd.
 
Software Product Development for Startups.pdf
Azilen Technologies Pvt. Ltd.
 
How Chatbots Empower Healthcare Ecosystem?
Azilen Technologies Pvt. Ltd.
 
[Step by-step guide] configure document generation functionality in ms dynami...
Azilen Technologies Pvt. Ltd.
 
How to overcome operational challenges in getting consistent beacon behavior
Azilen Technologies Pvt. Ltd.
 
Liferay dxp – the good, the bad and the ugly
Azilen Technologies Pvt. Ltd.
 
Realm mobile platform – explore real time data synchronization capabilities
Azilen Technologies Pvt. Ltd.
 
A step by step guide to develop temperature sensor io t application using ibm...
Azilen Technologies Pvt. Ltd.
 
How to create an angular 2.0 application in liferay dxp to fetch the ootb adv...
Azilen Technologies Pvt. Ltd.
 
Register Virtual Device and analyze the device data
Azilen Technologies Pvt. Ltd.
 
Analytics and etl based bi solutions
Azilen Technologies Pvt. Ltd.
 
Advanced risk management & mitigation system
Azilen Technologies Pvt. Ltd.
 
Server driven user interface (sdui) – framework for i os applications!
Azilen Technologies Pvt. Ltd.
 
How to integrate portlet as widget in liferay to any website application
Azilen Technologies Pvt. Ltd.
 
A walkthrough of recently held wwdc17
Azilen Technologies Pvt. Ltd.
 
How wearable devices are changing our lives
Azilen Technologies Pvt. Ltd.
 
iPad Application as Return Process Automation Solution for eCommerce Store
Azilen Technologies Pvt. Ltd.
 
[Part 3] automation of home appliances using raspberry pi – all set to automa...
Azilen Technologies Pvt. Ltd.
 
Rfid systems for asset management — the young technology on its winning path
Azilen Technologies Pvt. Ltd.
 
[Part 2] automation of home appliances using raspberry pi – implementation of...
Azilen Technologies Pvt. Ltd.
 
[Part 1] automation of home appliances using raspberry pi – software installa...
Azilen Technologies Pvt. Ltd.
 
Ad

Recently uploaded (20)

PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
NASA A Researcher’s Guide to International Space Station : Fundamental Physics
Dr. PANKAJ DHUSSA
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
Survival Models: Proper Scoring Rule and Stochastic Optimization with Competi...
Paris Women in Machine Learning and Data Science
 
PDF
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
PDF
Evolution: How True AI is Redefining Safety in Industry 4.0
vikaassingh4433
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Software Development Company Keene Systems, Inc (1).pdf
Custom Software Development Company | Keene Systems, Inc.
 
PPTX
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
PPTX
Wondershare Filmora Crack Free Download 2025
josanj305
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Home Cleaning App Development Services.pdf
V3cube
 
PDF
“ONNX and Python to C++: State-of-the-art Graph Compilation,” a Presentation ...
Edge AI and Vision Alliance
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
NASA A Researcher’s Guide to International Space Station : Fundamental Physics
Dr. PANKAJ DHUSSA
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Survival Models: Proper Scoring Rule and Stochastic Optimization with Competi...
Paris Women in Machine Learning and Data Science
 
Modern Decentralized Application Architectures.pdf
Kalema Edgar
 
Evolution: How True AI is Redefining Safety in Industry 4.0
vikaassingh4433
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Software Development Company Keene Systems, Inc (1).pdf
Custom Software Development Company | Keene Systems, Inc.
 
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
Wondershare Filmora Crack Free Download 2025
josanj305
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Home Cleaning App Development Services.pdf
V3cube
 
“ONNX and Python to C++: State-of-the-art Graph Compilation,” a Presentation ...
Edge AI and Vision Alliance
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 

Step by step guide to create theme for liferay dxp 7

  • 1. Step by Step Guide to Create Theme for Liferay DXP 7
  • 2. Introduction of Liferay Digital Experience Platform (DXP) 7 We have been working with Liferay platform ever since the release of Liferay 3.6 for developing enterprise web applications and over this time , not only we have seen the platform evolve and grow significantly with each release, it has also been recognized as a leader in the “Magic Quadrant for Horizontal Portals”– an yearly publication from Gartner ( A leading IT research firm), for the fifth year in a row. With introduction of Liferay Digital Experience Platform (DXP) 7, creation of custom themes became a complex process, compared to Liferay 6.2 where themes can be easily created using Liferay developer studio and Eclipse.
  • 3. Mainly 3 steps are included: • Prerequisite (i.e. environment) to start theme development • Steps to build theme. • Deploy theme Step by Step Guide for Creating Your Own Custom Theme for Liferay 7.0.
  • 4. Setup of Liferay Theme Theme generator has few inline dependencies. To make theme generator work, you need to follow following steps to resolve its dependencies. • Uninstall latest version of node & Ruby and Rails if installe • Install Node v4.2.2 via the link – https://nodejs.org/download/release/v4.2.2/node-v4.2.2-x64.msi • Open the Command Prompt and Check the node version, => Type command – 1 node –v
  • 5. Check for output – v4.2.2
  • 6. Setup NPM environment by following below steps: => Open it in Command Prompt (CMD)
  • 7. => Go to C:Users {current User} for Example: C:Usersdharam.mali => Type 1 copy NUL .npmrc => You can see-> .npmrc file is created at C:Usersdharam.mali => Open .npmrc file and add following path: prefix=c:Usersdharam.mali.npm-packages
  • 8. =>NPM_PACKAGES (Add new System Variable) = C:Users dharam.mali.npm-packages =>NODE_PATH (Add new System Variable) = %NODE_PATH%;c:Usersdharam.mali.npm-packagesnode_modules => Add to (user variable) PATH = %NPM_PACKAGES% Close the Command Prompt (CMD) and open again with Administrator, now Install Yeoman and gulp globally by executing the following command (It will take some time) 1 npm install -g yo gulp
  • 9. Now you’re ready to install the Themes Generator. Install it by executing this command: Once everything is installed without error, then install Sass on Windows. Install Ruby Sass and Compass by below steps Download Ruby from: http://rubyinstaller.org/downloads/ => Use the latest version: Ruby 2.3.1 (x64) 1 npm install -g generator-liferay-theme
  • 10. Liferay Theme Installation: a. Install it in Program file b. Make sure to tick i. “Add Ruby executable to you PATH ii. Associate .rb and……
  • 12. iii. Open CMD with administrator, type Output: 2.5.1 Now install SASS Compiler for CSS a. To avoid error we will change source path for Ruby, => Open CMD with administrator, type: b. Install 1 gem -v 1 gem sources -a http://rubygems.org/ 1 gem install sass compass
  • 13. Now it’s time to create theme! Go to directory when you want to create your theme: (for Example: E:projectsliferay-developer-studioworkspaceliferay-workspacethemes) a. Open CMD with Administrator, type : 1 yo liferay-theme
  • 14. Create New Theme name ”MyFirstTheme”
  • 15. b. Now your theme is created, see folder created named “MyFirstTheme” c. Go to your theme folder E:projectsliferay-developer- studioworkspaceliferay-workspacethemesmyfirsttheme-theme d. In CMD type: 1 npm install
  • 16. Go to your theme folder in cmd, e.g. E:projectsliferay-developer- studioworkspaceliferay-workspacethemesmyfirsttheme-theme Type : Deploy theme in Liferay 1 gulp build
  • 18. Once you get message “Finished ‘build’ after 17 s” type: 1 gulp deploy
  • 19. Wrap-Up In this PPT, we have provided step by step Installation guide and error free solution for developers which helps in time efficient and user friendly installation of theme in Liferay 7. Talk to our Liferay consultant to know more about Liferay DXP(Digital Experience Platform).
  • 21. Thanks You www.azilen.com Let us know if you have any Question! [email protected] | +1-972-325-2243