Fórum

Adding a site with "one button"

Sergey Rolich, modificado 12 Anos atrás.

Adding a site with "one button"

New Member Postagens: 13 Data de Entrada: 04/04/12 Postagens Recentes
Hello I would like to ask for help in the initial stage of development. We need to create a portlet (or may not portlet), which could for "the touch of a button" add a new organization, to create it website and create new users (eg admin site and just user), while in the button to pass parameters, there is the name of the organization and the site template and TP. Who can tell in which direction to dig that look, can take as a basis for any example. Thanks in advance.
P.S. Sorry for my bad english.
thumbnail
Ravi Kumar Gupta, modificado 12 Anos atrás.

RE: Adding a site with "one button"

Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
Looking at the organization, users section in control panel should help you.. emoticon
thumbnail
Paul ., modificado 12 Anos atrás.

RE: Adding a site with "one button"

Liferay Master Postagens: 522 Data de Entrada: 29/08/11 Postagens Recentes
Sergey ,

There is something similar build and is available in official plugins : http://www.liferay.com/downloads/liferay-portal/official-plugins/-/software_catalog/products/5401326
This hook is responsible for adding create site / organization / users / data etc to a default liferay. It includes source so you can check out how it's done using liferay services and build your requirement.

Note : it's meant for default empty (without any user data) liferay instance.
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: Adding a site with "one button"

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Do you mean like the 7cogs demo portlet which is installed in the liferay application bundle packages?
Well, it's actually creating users and other data when the portlet is deployed.

The source is available in the svn with other liferay source code.