I'm new to Liferay but I have to update (fix bug and add some enhancement) a site made with Liferay 6.1.1
I have a form that create an organization and a blank site for it. The problem is that currently, an admin have to go to the control panel, change the public site template, change the name in the template to organization's name, check an option to merge with the main site public pages, then give admin rights for their site to the user who create it.
This task have no variant so I'm quite sure it can be done automatically when the user create the organization. I find the java files which create the organization from the form, but I have no idea where I should look for to make previous task automatic, or how to add it to the code...
Anybody can help me plz ?