|
To apply the patch copy it into your SAKAI_SRC/site-manage directory, cd into the site-manage directory and then execute 'patch -p0 <
You also need to copy chef_site-copy.vm into SAKAI_SRC/site-manage/site-manage-tool/tool/src/webapp/vm/sitesetup I just replaced the chef-site_copy.vm template as I forgot to set the back index and the template-index.
r63854.
The features of recognizing template site by "template" property setting and site creation workflow changes are checked into trunk in r63854. User is not allowed to specify site id. The site id will always remain as UUID. However user would be able to specify human readable site alias in Site Info tool after the site is created. There are checkboxes for copy user and copy content. When selected, user and/or content from the template site would be copied into the newly created site. Nice one Zhen. I like the UI and the copy content is cool.
Adrian. NIce one Gonzalo as well :)
I've made a change to my 2.5 version where I've swapped the title field for a text area so you can copy and paste a list of site titles in. I needed to create multiple sites at once from one template. What do you reckon to getting that into your trunk code? It's a nice admin tweak. Adrian. Thanks Adrian.
We have discussed your suggestion. If we could restrict that functionality to a role equivalent to dept or school administrator or something of that nature - like the person in charge of creating all the sites for one unit, then your addition would be incredibly useful across the board. Otherwise it would just be useful to environments where course creation is carried out by admins, no? I would hesitate to put this functionality in front of normal users, in any case. So in a few words, we either need to enable that role or be able to disable that functionality. A third option would be to surface the template functionality in the Admin Workspace/Sites tool where it would be nicely quarantined. What are the odds of this getting merged into trunk? Any idea?
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SAK-12868describes current (2.6) implementation of templates.