cancel
Showing results for 
Search instead for 
Did you mean: 

Sites Templates

sgoni
Champ in-the-making
Champ in-the-making
Is it posible to define a site template on Alfresco Share? I want to create dynamictly a site with certain folder structure and rules.
Even it's not possible on Share, Can I do these configuration on Alfresco Explorer and make it visible on Share?
6 REPLIES 6

steffen
Champ in-the-making
Champ in-the-making
i'm not sure if its the best way to do this, but i created site templates for share by:

1. creating a custom site type by modifing: create-site.get.js and presets.xml
2. creating a new space "site-template" in the data dictionary using the alfresco explorer with the template folders and files
3. creating a custom behavior on "onCreateNode", check if the created node is my custom site (check the node property SiteModel.PROP_SITE_PRESET)
4. creating the documentLibraray folder in the site space, as it will not be present at this point
5. copy the content of the "site-template" space in the newly created folder (documentLibrary)

hth

steffen

sgoni
Champ in-the-making
Champ in-the-making
Thanks stephen.
Can you extend a little more your explanation, posting some code and configurations you had to do?
Thanks in advance

steffen
Champ in-the-making
Champ in-the-making
ok, i'll set something up and get back to you…

steffen
Champ in-the-making
Champ in-the-making
instructions to my approach for share site templates and a ready-to-run AMP can be found here: http://outdoorcoding.blogspot.com . feedback for improvements and bug reports are welcome!

regards

steffen

hotnuts21
Champ in-the-making
Champ in-the-making
Your blog is private so I was unable to view how you did it.

Have you enabled this feature on a recent version of Alf too?

Paul

bliblablo
Champ in-the-making
Champ in-the-making
Hallo,

my company is thinking of using Alfresco and now I am testing it a bit.

I would also love to create a template for Sites in Alfresco Share but I can't figure out how to do it. I found this Wiki Entry (http://wiki.alfresco.com/wiki/Roadmap#Site.2FSpace_Templates) where it says that it was on the roadmap for 2010 but no more details on how to do it.

Just to be clear what I mean:
If I am in Alfresco Share and click to create a new site i have a dropdown menu with only one Option (Collaboration-Site). I would love to have the option for other stuff. Let's say "Project". I would like to specify that there will be a Wiki, no blog, documents, discussions and no calendar. Furthermore maybe a predefined Wiki Page that has a grid where I need to enter the Project number and a main contact person.

Is this possible with Alfresco?

Any help is appreciated!

Thanks a lot,

Georg