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

Portlets not getting displayed when custom theme is applied

I have two portlets on a page. When the default theme is applied these portlets get displayed. But when I apply my own theme the portlets are not displayed. My theme has a header and footer which right now is getting displayed one after another with…
user2822187
  • 307
  • 2
  • 11
  • 26
0
votes
2 answers

Inserting content on a page and applyign theme to it in LIferay

I have created a theme and I want to apply it for a page in liferay. I tried creating a page but I don't know where to insert content in it. Further the theme that I have created has a header and footer and the page info should come in between…
user2822187
  • 307
  • 2
  • 11
  • 26
0
votes
1 answer

Adding pages and templates to a portlet

I am using eclipse ide and I have created a liferay project Test-portlet. I haven't written any code for this project When I ran this project I got the usual welcome screen and I added the Test-portlet to the page and removed other stuff from the…
user2822187
  • 307
  • 2
  • 11
  • 26
0
votes
2 answers

Deploying Custom theme in production server

I'm working on a Liferay project. I'm developing a new Liferay theme using Plugins SDK. I wonder is it better to use ANT or MAVEN for the project? Because I managed to run both projects in eclipse. Also is there any way to deploy automatically…
wadi3
  • 226
  • 3
  • 13
0
votes
1 answer

Migrating a website from OpenCms to LIferay

A website is currently in OpenCms which needs to be migrated to Liferay framework as is. There is a concept of JSP templates in OpenCms. Is it possible to replicate the concept of jsp templates which is present in OpenCms into themes/layouts in…
user2822187
  • 307
  • 2
  • 11
  • 26
0
votes
1 answer

Passing json data from one jsp to another in Liferay

I am new to liferay and ended up failing to send data from one jsp to other. Below is my use case. I have created 2 JSP files: first.jsp and second.jsp I have created a href in first.jsp and on clicking of that, I am loading second.jsp by calling a…
Kiran Kulkarni
  • 1,434
  • 2
  • 18
  • 40
0
votes
2 answers

How to change color of navigation bar and breadcrumb bar in Liferay 6.2

I am working on a project where I have to develop a theme in which I have to customize navigation and breadcrumb bar and many other things too. Main part is how to change the color of navigation bar. Liferay 6.2 tomcat 7 windows 7
asifaftab87
  • 1,315
  • 24
  • 28
0
votes
2 answers

how to resolve Uncaught TypeError: Object # has no method 'corner' in jquery?
I am using jquery round corner plugin in lifray theme in order to add round corner functionality in all kind of browsers, including IE6 to IE8. i have included the jquery round corner plugin in portla_normal.vm like this :- …
ASR
  • 3,289
  • 3
  • 37
  • 65
0
votes
0 answers

The urls of images that are in my liferay theme are not become invalid when I change protlet

I have created a liferay theme where I placed some images to the footer. I also have several pages and each page is a portlet. When I first visit the home page after server starts up, the the URLs are working like a charm. The problem is that…
0
votes
1 answer

Liferay - Error setting preferences of sitemap portlet in Theme

I am adding a sitemap portlet at the footer of my theme, and when I instance it I set the preferences for the root layout id, display depth and show hidden pages. My portal-normal.vm snippet: #* Sitemap for the Footer Links *# #set ($portlet_id…
Jaime Rey
  • 108
  • 1
  • 2
  • 9
0
votes
2 answers

How to open "Portlet Preferences" page of dialog in Liferay?

It is said in manual to CompactTags portlet, that user should "open preferences interface" after portlet installation (said here). If I press wrench icon, I get only "Look and Feel" and "Configuration" entries. Is this mean that something wrong…
Dims
  • 47,675
  • 117
  • 331
  • 600
0
votes
1 answer

org.jruby.embed.EvalFailedException: (SyntaxError) Undefined mixin 'hyphenation'

After installing a liferay given theme to my project, Iam getting the following exception. Here the complete stack trace.. Caused by: org.jruby.exceptions.RaiseException: (SyntaxError) Undefined mixin 'hyphenation'. 10:16:00,785 WARN …
user2729112
0
votes
0 answers

Liferay theme is not available under {liferay\Temp} folder

Just like the portlets, I'm trying to find the theme under {liferay\Temp} folder but it is unavailable. My main goal is to change/update .VM code in the theme just like I'm doing under the Temp\Sample-portlet for JSP files which do not need…
Mzr
  • 139
  • 6
0
votes
2 answers

Unique ID for Liferay theme

We have an issue with the theme we created for Liferay and to me it seems like we are doing something wrong, because it seems like a very stupid problem. We use Maven builds for all our plugins and therefore have a build artifact containing a…
Till Helge
  • 9,253
  • 2
  • 40
  • 56
0
votes
1 answer

NoSuchOrganizationException: No Organization exists with the primary key 0

We have a portal hosted on Liferay and in that I have created several organizations and locations under a parent organization in Liferay. Now in our custom form portlets we have a drop down for both organizations and locations which display the…
vishalpamnani
  • 53
  • 1
  • 12