Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Dyrt Dancer
Custom user registration portlet
March 18, 2010 1:14 AM
Answer

Dyrt Dancer

Rank: Junior Member

Posts: 49

Join Date: January 29, 2010

Recent Posts

Hi!
I'm using Liferay 5.2.3 and Tomcat 6.0.24.
I've created my own portlet which purpose is to perform user registration. I wanted this portlet to be accessed from default login (or sign in) portlet. Documentation says, that I must change company.security.strangers.url property in portal-ext.properties file to the friendly url of the page, where my custom portlet is placed. I've changed this property in webapps/ROOT/WEB-INF/classes/portal-ext.properties file to /web/guest/test, created the "test" page, restarted Tomcat and see no changes: link "Create account" in default "Sign In" portlet still guides me to the default registration portlet, not to my page. I've set company.security.strangers.url=/test, restarted Tomcat again, but still no changes are made in "Sign In" portlet.
Settings from portal-ext.properties file are working, because if I change company.security.strangers property to false I will see (after Tomcat restart) that "Create Account" link has disappeared from "Sing In" portlet.
How I can change where the link "Create Account" in "Sign In" portlet guides to?
Dyrt Dancer
RE: Custom user registration portlet
March 19, 2010 3:26 AM
Answer

Dyrt Dancer

Rank: Junior Member

Posts: 49

Join Date: January 29, 2010

Recent Posts

Is this feature (changing company.security.strangers.url property in portal-ext.properties file) working?
MANUEL ANTONIO FERNANDEZ MONTERRUBIO
RE: Custom user registration portlet
March 24, 2010 4:01 AM
Answer

MANUEL ANTONIO FERNANDEZ MONTERRUBIO

Rank: New Member

Posts: 10

Join Date: October 1, 2009

Recent Posts

I've the same issue. I'm thinking in modify the create account link in the ext environment
Dyrt Dancer
RE: Custom user registration portlet
December 3, 2010 1:02 AM
Answer

Dyrt Dancer

Rank: Junior Member

Posts: 49

Join Date: January 29, 2010

Recent Posts

I cannot use ext-environment to change some properties or modify existing default portlets, I can only set this properties in Liferay configuration files or create my own portlet with PluginsSDK.
I think, this feature is not working and I can't change link "Create Account" in default "Sign In" portlet. So I had to create my own "Sign In" portlet. What a comfort, very rich set of features, which are not working and where you can stuck instead of making progress in your work...
Rick Osborn
RE: Custom user registration portlet
August 16, 2011 11:07 AM
Answer

Rick Osborn

Rank: New Member

Posts: 4

Join Date: August 16, 2011

Recent Posts

You didn't mention if you're using this or not. We've discovered a bug in using the Alfresco DocLib portlet and editing the "portal-ext.properties" file.
If you have the portlet deployed per it's instructions, any changes to "portal-ext.properties" will have no affect.


Dyrt Dancer:
Hi!
I'm using Liferay 5.2.3 and Tomcat 6.0.24.
I've created my own portlet which purpose is to perform user registration. I wanted this portlet to be accessed from default login (or sign in) portlet. Documentation says, that I must change company.security.strangers.url property in portal-ext.properties file to the friendly url of the page, where my custom portlet is placed. I've changed this property in webapps/ROOT/WEB-INF/classes/portal-ext.properties file to /web/guest/test, created the "test" page, restarted Tomcat and see no changes: link "Create account" in default "Sign In" portlet still guides me to the default registration portlet, not to my page. I've set company.security.strangers.url=/test, restarted Tomcat again, but still no changes are made in "Sign In" portlet.
Settings from portal-ext.properties file are working, because if I change company.security.strangers property to false I will see (after Tomcat restart) that "Create Account" link has disappeared from "Sing In" portlet.
How I can change where the link "Create Account" in "Sign In" portlet guides to?
Dyrt Dancer
RE: Custom user registration portlet
August 16, 2011 9:31 PM
Answer

Dyrt Dancer

Rank: Junior Member

Posts: 49

Join Date: January 29, 2010

Recent Posts

No, I'm using regulat portlet, created with PluginsSDK.