Forums

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

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Nguyễn Khắc Rồng
Automatic creation of subdomains for user's page
February 4, 2013 9:01 PM
Answer

Nguyễn Khắc Rồng

Rank: New Member

Posts: 17

Join Date: December 12, 2012

Recent Posts

When a new user is added to liferay a public page can be created automatically for him. Where should I look in the source of Liferay to implement such a functionnality ? Or maybe it's already possible by configuration? If it is so how could I do it?

Thanks emoticon
Gnaniyar Zubair
RE: Automatic creation of subdomains for user's page
February 4, 2013 11:14 PM
Answer

Gnaniyar Zubair

Rank: Liferay Master

Posts: 603

Join Date: December 19, 2007

Recent Posts

Hi,

You can create all the pages ,layouts and themes & export them as a LAR file and use this :

default.user.public.layouts.lar=${liferay.home}/deploy/default_user_public.lar


If more complex situation, you can do it thorugh programmatically by overding addDefaultUserPublicLayouts method from
ServicePreAction through event hook.

HTH

- Gnaniyar Zubair
Nguyễn Khắc Rồng
RE: Automatic creation of subdomains for user's page
February 4, 2013 11:22 PM
Answer

Nguyễn Khắc Rồng

Rank: New Member

Posts: 17

Join Date: December 12, 2012

Recent Posts

(sorry for my english)Thank Gnaniyar Zubair for reply, but not what i want
For example, when i create new user 'abccba', the public page will create with domain: zzz.com/web/abccba
i want to create automatically subdomain: abccba.zzz.com for user 'abccba' emoticon
angu manikandan
RE: Automatic creation of subdomains for user's page
May 15, 2013 11:16 PM
Answer

angu manikandan

Rank: Junior Member

Posts: 72

Join Date: July 16, 2012

Recent Posts

Hi zubair bhai

Can you please elaborate it or give some usefull link which i can follow to achive my requirnment

HTH
angu