Questions tagged [liferay-theme]

Liferay themes are hot-deployable plugins that help in customizing the layout and overall look & feel of portal pages. Liferay theme use different template engines to customize the page layout and styles of the portal.

Liferay Themes are used to customize the default layout and look & feel for portal pages.

They are hot-deployable plugins.

Themes use and templates to customize the styles and layout of the portal pages.

They can be either applied to single page, a single site or to the entire portal.

Themes in Liferay are really powerful, as you can do:

  • you can call different portal services and custom services from the theme.
  • include OOTB or custom portlets dynamically in the theme, i.e. as soon as you apply the theme to a page it will render the portlet included in the theme, you don't have to add the portlet from the add menu.
  • A lot of configurable settings can be built using the theme for advance control.

Resources

  1. Creating Themes and Layout
  2. Configuring Look and Feel of Liferay Applications
377 questions
0
votes
1 answer

LifeRay Maven multiproject

I want to create project with a few comonents: 1.Portlet 2.Service to portlet 3.Liferay's hook 4.Liferay's layout 5.Project's service 6.Project's theme all subprojects I want to build with Maven and in the first step (creating "Liferay Plugin…
0
votes
2 answers

Dynamically change language in liferay

Following is my requirement: I need to change language dynamically. So I have one button which will have toggle values. So when value is "English" it will show content in english and when value is something else say "Hindi" then it will show content…
suyash
  • 1,254
  • 1
  • 15
  • 33
0
votes
0 answers

Extend ServicePreAction class and add attribute under the key WebKeys.VM_VARIABLES

I need to add some custom velocity variables in liferay 6.0.6 running on tomcat 6. Please tell me a way to do it. I read it in a blog that we need to extend ServicePreAction class and add attribute under the key WebKeys.VM_VARIABLES. But I am not…
aayushdriger
  • 382
  • 3
  • 19
0
votes
1 answer

Separte view.jsp for each RSS portlet

I have RSS feeds from 4 different websites grouped logically into two catgeories (Social and educational).I have created 1 RSS portlet for each of the category.Each portlet has link to two URL feeds. I wanted to customize the look and feel of the…
Mani
  • 283
  • 3
  • 21
0
votes
0 answers

Managing content in liferay

I am using liferay 6.2 for migrating my existing web application to liferay.I have done below things: -->created my own theme extending the _styled theme -->customized the navigation to have fixed sidebar on the left and content area on the right.…
Mani
  • 283
  • 3
  • 21
0
votes
2 answers

Liferay 6.1.20 : Minimize and bundle theme Javascript

Is there a way to apply Liferay's built-in javascript minimizing and bundling capability to the javascript I've included in my theme? I have javascript.fast.load=true in portal-ext.properties and Liferay's javascript is getting bundled & minified…
clav
  • 4,221
  • 30
  • 43
0
votes
1 answer

In Liferay 6.2 unable to pass object from class to jsp

I am trying to set an attribute of type list in a class and getting the attribute from the class to jsp by using following: First setting the attribute by using actionRequest.setAttribute("SEARCH_RESULT",result); For getting the object using the…
Saleem Khan
  • 339
  • 3
  • 16
0
votes
3 answers

Maven - changing deployed artifact name

when i deploy an artifact (Liferay Portal theme) to Tomcat, it is stored in directory webapps/artifactId-version/. However, I do need for directory to be named without the version suffix. How can I accomplish that? Thanks.
Martin D
  • 667
  • 1
  • 10
  • 25
0
votes
2 answers

How to create liferay Service xml for multiple foreign key of same primary key?

I know the question might be confusing,any ways I will explain it. Basically I have two tables. Student and Course where studentid and courseid are their corresponding primary keys. In the Student table I have two attributes courseid and…
playmaker420
  • 1,527
  • 4
  • 27
  • 52
0
votes
3 answers

Change Theme based on user roles Liferay

I want such a mechanism that will provide different themes depends on different user roles in Liferay.Is there a way that provide me a solution that i can change theme on User roles. Secondly i want to know that is this is possible programatically…
Ali
  • 557
  • 1
  • 9
  • 30
0
votes
1 answer

Responsive layout distorting images

I am having a problem on Liferay 6.2 GA2 where I have some web content portlet with a simple image, the problem is when I view my page on a small device or resize the browser window my image gets distorted, the width of the image changes but the…
netlander
  • 1,128
  • 1
  • 11
  • 12
0
votes
1 answer

Primefaces theme not applying in Liferay portlet

I'm using PrimeFaces 5.0 in my portlet project. I'm facing a problem in applying a theme. I added the all-themes.jar to use the flick theme in the project and configured in web.xml as following.
0
votes
1 answer

Unable to create popup in liferay

I am trying to create a popup using aui script tag and i don't no why its not working please have a look at the code function popup(url){ AUI().use('aui-dialog', function(A){ var dialog = new A.Dialog({ title: 'Book…
0
votes
1 answer

How to display User name as a page title

from last few days i am trying to do some modification in SEO level, as i am working on a social portal. when i goes thru any users profile. the page title comes on window tab is "Profile|XYZ.com" If i went thru a user "TestUser"'s profile,it…
Akash
  • 816
  • 3
  • 13
  • 38
0
votes
4 answers

Unable to redirect to other page in liferay

I am trying to redirect to other page using java code and don't no why its not getting redirected. the below is the following code ThemeDisplay themeDisplay = (ThemeDisplay)actionRequest.getAttribute(WebKeys.THEME_DISPLAY); PortletConfig…