Questions tagged [liferay-6.2]

The current (June 2021) version of Liferay is 7.4 - Liferay 6.2 was released in 2013, with the last GA update in 2017. Consider upgrading asap. If you're still running Liferay 6.2 CE, at least have this security patch https://liferay.dev/blogs/-/blogs/security-patches-for-liferay-portal-6-2-7-0-and-7-1 installed. A lot more information is available in the main liferay tag.

The current (June 2021) Community Edition version of Liferay is "Liferay Portal 7.4 GA2" - the current enterprise supported version is "Liferay DXP 7.3".

Liferay Portal 6.2 (CE and EE) was released in 2013, with the last CE GA update in 2017. If you're still running this version: Consider upgrading asap. At least you definitely should have this security patch installed.

A lot more information is available in the main tag.

154 questions
0
votes
1 answer

Custom ckEditor Toolbar in Liferay 6.2

I want to add my own custom toolbar for my ckeditor and have therefore added this to my ckconfig.jsp via a hook. config.toolbar_Mini = [ ['Bold', 'Italic', 'Underline', 'Strike'], ['BulletedList'] ]; Additionally I've found out that liferay…
Massimo Rosin
  • 163
  • 1
  • 13
0
votes
1 answer

Liferay mvn build-css & sass @charset pasted into @import ? : @charset may only be used at the root of a document

Liferay 6.2 Maven 3.3.9 I'm using liferay-maven-plugin:6.2.10.13:build-css to compile scss files to css. my main.css is : @import url(base.css); @import url(application.css); @import url(layout.css); @import url(dockbar.css); @import…
Gonnarule
  • 350
  • 2
  • 7
0
votes
1 answer

Liferay 6.2 adding a new ckeditor

I want to add a new ckeditor to my liferay because we need to limit the functionality of the one available. However, I do not want to change the original one because we migth later on need it in a different form. How can I add a new ckeditor that…
Massimo Rosin
  • 163
  • 1
  • 13
0
votes
1 answer

Liferay load css and js contained in a folder

is there any way in Liferay 6.2 to load all css (or js) files contained in a folder? This is liferay-portlet.xml example file: Example /icon.png true
scricci85
  • 43
  • 9
0
votes
0 answers

How Asset Publisher show the contents?

I'm developing a custom portlet like the Asset Publisher OOB Liferay but my portlet have to show all types of Contents (Published, expired, save as draft etc etc). My problem is that I'm not be able to open my jsp with the Content in a new page like…
0
votes
1 answer

Use liferay-ui:asset-categories-selector tag to offer one vocabulary only

I'm developing a Liferay portlet supposed to offer a way of categorizing its content. I created multiple vocabularies (e.g. frogs, apes, birds). In the view of THIS portlet I want to offer the categories of the "frogs"-vocabulary only. I know I…
0
votes
1 answer

Enabling editting on specific custom fields in liferay

I am adding some custom fields to the "user" model of liferay (6.2). As per my use-case I need to show all the fields to all the users, but enable editing on a few of them, other remains read-only. I read about the "view" permission and "update"…
ankurjhawar
  • 315
  • 1
  • 4
  • 14
0
votes
1 answer

Hook in Portlet project

I have created a separate hook plugin project for portal properties customization. When I deployed it got worked successfully. But when I add the hook configuration within a portlet plugin project the hook is not working. I am adding the hook…
Alex Man
  • 4,746
  • 17
  • 93
  • 178
0
votes
2 answers

Liferay access DB table in theme: No bean named 'com.colors.themes.service.ColorLocalService' is defined

I have a theme project in liferay. I have created a new table called colors in my liferay MySQL database. The colors table is given below Actually I have a requirement that a particular css file should be loaded in theme based on the color table…
Alex Man
  • 4,746
  • 17
  • 93
  • 178
0
votes
2 answers

Liferay 6.2 Lucene replication in cluster

I'd welcome any help regarding simple issue: I have clustered environment and I enabled Lucene replication in properties (lucene.replicate.write=true). Now, all the tutorials are instructing me to reindex Lucene. Should I run it on one node? On…
Martin D
  • 667
  • 1
  • 10
  • 25
0
votes
1 answer

Liferay form does not check required fields at Add, despite checking them at Edit

I have a Liferay entity created by Service Builder, with the field "name" described as required in portlet-model-hints.xml: [...]
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
2 answers

How to get Liferay site name from inside Portlet class?

I can get the current Liferay site name from JSP: <%= themeDisplay.getLayout().getGroup().getName() %> It gives for instance "Guest". QUESTION: How to get the same from the Java Portlet class? The closest I have found are the…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
1 answer

Allowing only digits in aui:form, with Liferay portlet-model-hints.xml

My portlet-model-hints.xml below stipulates that quantity is required, that works fine. Now I also want to stipulate that quantity must be made of digits: [...]
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
1 answer

Liferay Startup aborted with message related to version update but I never did the update

I'm running into a strange behavior with my liferay 6.2 (build 6210). I was trying to install the latest fixpack portal-84 and cannot start my server since. Since I reverted all fixpacks etc. and still the startup doesn't work I doubt the update is…
0
votes
1 answer

${findState} value is not getting if script file placed outside

I have created a liferay portlet with ajax feature, The application is working fine but the issue is that say when I put the ajax script within the jsp page like as shown below I will be able to pass the ${findState} url but If I include the…
Alex Man
  • 4,746
  • 17
  • 93
  • 178