Questions tagged [liferay-hook]
47 questions
0
votes
2 answers
Liferay Login Hook, error pop up
I need to show the errors in login hook of liferay in popup, but the sentence is only a line of code, so I don't know how implement the popup.
the key line is the next:
0
votes
1 answer
Deploy Hooks in Liferay and JBoss
I need to create a Hook to inject Javascript in a site. I have not had troubles creating hook but when I deploy it, my hook is not registered like Hook.
I have tried to deploy it with Liferay and Tomcat and this work fine.
Anybody knows what could…

IvanMoreno
- 145
- 10
0
votes
2 answers
Liferay - PreLoginAction - Prevent User from Login
i use a Liferay based website and try to implement a login hook which prevents a user login under certain conditions. I want to make it as simple as possible like:
@Override
public void run(HttpServletRequest request, HttpServletResponse…

A. Garland
- 23
- 1
- 5
0
votes
2 answers
How can i change default document upload location in Liferay?
i have to change the default document upload location in liferay. i am uploading document via CMS in liferay.
Any help is highly appreciated.

Sushank Dahiwadkar
- 93
- 1
- 12
0
votes
1 answer
Liferay startup events explanation
1) I was trying to create a portal startup hook, and was overwriting a startup action. The wording in application.startup.events description was a bit vague: it says that this event runs once for every web site instance of the portal that…

Rustem Burkhanov
- 3
- 6
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
1 answer
What is the best way to createAccountAction class in Liferay?
I have a requirement to add the phone number field in create_account.jsp and then I need to save it in Database, for that I have created a hook for create Account-hook to add phone number field, and to Store phone number field in database I have…

ASR
- 3,289
- 3
- 37
- 65
0
votes
2 answers
Add Team From startup event in liferay 6.2 ga4
i'm currently developing hook for user registration (jsp , action ,startup action)
i wont at startup time (application.startup.events) to create 2 teams using this code
but isn't work
Team…

HassanBakri
- 91
- 6
0
votes
2 answers
Customize CreateAccountAction in Liferay Portal
I'm trying to add "User Group" Selection field while creating a user (Self User Registration form - create_account.jsp).
Here Custom fields is not helpful because Usergroup is already exists in db. I want to insert into existing Users_UserGroups…

Pavan JDev
- 202
- 1
- 11
0
votes
0 answers
How to modify landing page after login in lifray?
I have 4 different organization and some users are associated to it. I have separate site for each organization. my requirement is If I am user of organization A , On login I should be able to redirect to my organization site.
eg:…

Learner
- 976
- 14
- 29
0
votes
1 answer
Many to many relation between custom entity and user entity in hooks
I am using service builders to create new entities in my liferay 6.1 hook. I want to create a many to many relation between one of my custom entities and the user entity of the portal. So I did the following:

girlintech
- 11
- 6
0
votes
2 answers
Session Factory in custom service builder in hooks is not instantiated
I am trying to create a new entity in liferay 6.1 hook customizing the calendar portlet. I used service builders to create a new entity referencing the Liferay 6.1 documentation…

girlintech
- 11
- 6
0
votes
1 answer
Liferay hook not loaded on startup
I have made a hook for the document-media portlet. Basically I just removed some options in the droplist. When I deploy the hook, everything works fine, however, everytime the server is restarted, it seems that the one being deployed is not the hook…

MerC
- 323
- 1
- 5
- 19
0
votes
1 answer
customisation of Sign In portlet in hook
I have developed hook for signIn portlet in liferay 6.0 . I need to customize the labels of create account page. I need to customize following code

Learner
- 976
- 14
- 29
0
votes
1 answer
Liferay Smart Card CAC Authentication With Liferay 6.1
we are building a website using Liferay and we need to Implement CAC authentication. I put in a ticket with Liferay customer support, but they would not offer a path forward, because they do not "officially" support this feature. Can anyone please…

Jonathan Mattox
- 71
- 1
- 4