[Using Sakai] Site templates and site types

Matthew Jones matthew at longsight.com
Thu Dec 6 16:54:08 PST 2012


It looks like there has never been a !site.template.project. If it was
there locally, it was because you copied it from something another realm
either as-is or customized it. It defaults to !site.template if there is no
specific realm. See this jira abouta dding it by default for clarity.

https://jira.sakaiproject.org/browse/KNL-882

As far as the second issue, there has been a lot of changes in the logic
for chef_site-type.vm that probably caused a regression on this use case
https://source.sakaiproject.org/viewsvn/site-manage/trunk/site-manage-tool/tool/src/webapp/vm/sitesetup/chef_site-type.vm?view=log

You should file a jira. The current check is essentially hiding any site
type that isn't one of the 3 defined because those have special permissions
associated with them. It basically needs to say if the type isn't one of
these 3 types and the user has the general add permission then it's okay.

                #if (($type == $courseSiteType && $canAddCourse) || ($type
== $portfolioSiteType && $canAddPortfolio) || ($type == $projectSiteType &&
$canAddProject))





On Thu, Dec 6, 2012 at 7:13 PM, Rafael Morales
<rmorales at udgvirtual.udg.mx>wrote:

>  Hello,
>
> We are configuring CLE 2.9 in preparation to migrate from 2.7. We plan to
> have several course profiles, so we have started creating some new
> templates (realms) and allowing the creation of sites of types other than
> project, course and portfolio, but we have some issues we have not been
> able to solve so far:
>
>    1. There is no !site.template.project in 2.9.0. There are
>    !site.template, !site.template.course and !site.template.portfolio, but no
>    !site.template.project, as there was in 2.7. Is that right? Why? Is it a
>    problem in our installation?
>    2. I have modified sakai-site-manage-tool/tools/sakai.sitesetup.xml,
>    including a new "community" type, modified
>    /opt/apache-tomcat-7.0.33/webapps/sakai-content-tool/tools/sakai.resources.xml
>    by adding the "community" category, created the !site.template.communtiy
>    realm from !site.template, and restarted Tomcat (7), but the new site type
>    does not show at Worksite Setup. Am I missing some necessary steps in the
>    process?
>
> Regards,
> Rafael
>
>  ------------------------------
>
> *Dr. Rafael Morales. Researcher. IGCAAV @ UDGVirtual, Universidad de
> Guadalajara. Avenida de la Paz 2453, Colonia Arcos Sur, 44130 Guadalajara,
> Jalisco, México. Tel +52 (33) 3540-3020 ext. 18823. Fax +52 (33)
> 3630-0934. Email rmorales at suv.udg.mx. Web
> http://investigacion.​udgvirtual.​udg.​mx/​personal/​rmorales<http://investigacion.%C3%A2%C2%80%C2%8Budgvirtual.%C3%A2%C2%80%C2%8Budg.%C3%A2%C2%80%C2%8Bmx/%C3%A2%C2%80%C2%8Bpersonal/%C3%A2%C2%80%C2%8Brmorales>
> *
>
>
> _______________________________________________
> sakai-user mailing list
> sakai-user at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>
> TO UNSUBSCRIBE: send email to
> sakai-user-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-user/attachments/20121206/ebed6aa8/attachment-0001.html 


More information about the sakai-user mailing list