掲示板

Creating a site programmatically

10年前 に John John によって更新されました。

Creating a site programmatically

New Member 投稿: 23 参加年月日: 12/02/13 最新の投稿
Is there a way to programmatically create a site that is not associated with an organization? I want users to be able to request certain private sites and upon approval, the site is created automatically without having to manually go into the control panel to do it. These sites will all have the same template and layout, but some might be public, some might be restricted, etc. I can't seem to find anything in the API to do this.
10年前 に gofri _ によって更新されました。

RE: Creating a site programmatically

Junior Member 投稿: 92 参加年月日: 07/03/02 最新の投稿
check in API following:
GroupLocalServiceUtil - to add a site
LayoutSetLocalServiceUtil and LayoutLocalServiceUtil - site pages/theme
thumbnail
10年前 に Prakash Khanchandani によって更新されました。

RE: Creating a site programmatically

Expert 投稿: 329 参加年月日: 11/02/10 最新の投稿
It seems you got an answer on stackoverflow: http://stackoverflow.com/a/16427625/468763