cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Sites Templating

hotnuts21
Champ in-the-making
Champ in-the-making
HI,
I was wondering if Alf has a sites templating feature for share as it does a space templating feature in Alfresco repository. I notice when you create a space you get the option to select a site type, but only 1 site type shows up.

Lots of searching for things like site templates etc have not turned up much, but thats probably because the words site and template are quite generic Smiley Happy

Would be good to know if this feature is available or if its slated for a future release.

Paul
3 REPLIES 3

zladuric
Champ on-the-rise
Champ on-the-rise
Well, in sites.post.json.js I see this:
var site = siteService.createSite(sitePreset, shortName, title, description, visibility);

Now, in my deployment, I added some extra, custom stuff that further customizes the site. Now this is ok for my use case, as my sites all start the same, I customize later.

As for the templating, I don't know where exactly to look. But siteService.createSite looks like a good place to start Smiley Happy

zaizi
Champ in-the-making
Champ in-the-making
1. Define a custom preset with the default site dashboard and pages, etc.
2. Extend the create site dashlet to include the drop down for your site template.
3. This will create your custom site template.

You'll need to add custom code to set up default document library structure or data lists, etc.

Ainga

stevegreenbaum
Champ in-the-making
Champ in-the-making
Share site templates is on the roadmap 2010. Project swift. http://wiki.alfresco.com/wiki/Roadmap#Site.2FSpace_Templates

Site/Space Templates

Simplify creation of application specific sites and spaces and enforce standards though site and space templates. Create Sites based site templates to allow sites to include predefine spaces, content and rules. Allow spaces in the document library to be created from space templates that include other spaces, content, rules etc.