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
14
votes
1 answer

Dynamic columns in liferay-ui:search-container?

I have tried the liferay-ui:search-container to fetch and display the database table records on UI in a table/grid format. By using the liferay-ui:search-container I am getting the output as shown below, I am fetching the USER_ table records in the…
Prasad
  • 1,164
  • 1
  • 10
  • 27
8
votes
5 answers

Including jQuery and other JS files in Liferay Theme

I use Liferay 6.1 and I created my theme (sample-theme) and I want add jQuery. How can I do that? Why I have folders: sample-theme and liferay-work and both have folders: css, js, templates? I created folder _diffs and subfolder js and there copy…
witek010
  • 359
  • 3
  • 9
  • 15
7
votes
3 answers

Using AngularJS with Liferay

I would use global AngularJS with Liferay Portal. Because, like the devise of AngularJS: Why AngularJS? HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. …
Mark
  • 17,887
  • 13
  • 66
  • 93
6
votes
3 answers

How to set the selected value in aui:select box

I have form with select box in my user form. I also need to update the form in edit mode. I am able to get selected value in edit mode. But I am unable to set the selected value in the edit mode. Here I am able to get the selected value from db.…
Vinod
  • 2,263
  • 9
  • 55
  • 104
5
votes
1 answer

Work with Bootstrap 3.3.6 in Liferay 6.2

I'm working with Bootstrap 3 in Liferay 6.2. I inserted the bootstrap.css and bootstrap.min.js in the CSS and JS. I've also changed some style in my custom.css incompatilibilidad Do you have a better idea of ​​it? Then I attached the steps I…
5
votes
2 answers

SASS and Liferay - how to use in custom themes?

I don't really find an answer on liferay's blogs and google - so i hope anyone here can help me. I'm trying to get started with sass in a custom theme i am building in liferay 6.2. As i understand it, the approach would be this: create an empty…
Jakob Hohlfeld
  • 1,503
  • 1
  • 17
  • 31
5
votes
4 answers

Removing localization in liferay theme

I am using Liferay 6.1 and have developed theme in the same. My problem is when i load the theme the head section contains huge links as shown below:
Milople Inc
  • 399
  • 1
  • 8
  • 34
4
votes
1 answer

Liferay Freemarker Variable List

I am looking for list of all freemarker variables in Liferay. Similar question : Freemarker and Velocity Template Variables has list of all Velocity variables, but not freemarker.
Sourabh
  • 71
  • 2
  • 8
4
votes
1 answer

How to add image as the background to rounded corners in jQuery?

I have included the jQuery round corner plugin for rounded corner functionality for my theme, for first theme it is working fine because I have not added any background image to theme. When I go for second theme I have added image as background,…
ASR
  • 3,289
  • 3
  • 37
  • 65
4
votes
5 answers

no theme found for specified theme id . returning the default theme

By liferay-plugins-sdk-6.1.1 on theme folder I created a theme for my liferay portal 6.1.1 CE-GA2. My liferay-plugin-package : …
brelian
  • 403
  • 2
  • 15
  • 31
4
votes
2 answers

rendering Liferay page URLs inside of portlets Liferay 6.1

I'm new to liferay and I'm almost positive this is blazingly simple to do: Using velocity markup, I want to be able to generate links to pages within my Liferay website and embed them inside of my portlets on different pages. I have a vague idea…
max7
  • 800
  • 2
  • 16
  • 37
4
votes
3 answers

How to make different theme for some portlets

I am new to Liferay and I have the following problem. I need to create portal theme - this is ok, no problem. This will style my portal and default portlets. But in some of my own portlets I use ZKOSS pages, which reqires completely different…
Gatekeeper
  • 1,586
  • 3
  • 21
  • 33
3
votes
1 answer

Can I package multiple Liferay portlets and a themes in a WAR file?

I can easily create Liferay portlets and themes individually using the Liferay plugin SDK. I have managed to combine multiple portlets into one WAR file which has been pretty convenient for deployment at client sites. I have also created multiple…
Olaseni
  • 7,698
  • 16
  • 44
  • 68
3
votes
1 answer

How can I add a new language in Liferay 7?

My problem is how to add new language like thailand language in liferay 7. When I inspect the existing flag I see that the image is not png but it is svg, but I can't add new language with icon. In this page.jsp I see that the constructor of image…
3
votes
2 answers

How to add structure and template to the journal article while creating programatically

I have created structure and template through portal UI. Now I am creating the journal article programmatically in the action class. While creating a journal article in the action class I want to set the existing structure and template to this…
1
2 3
25 26