Disable Site Managers being able to change themes.

cancel
Showing results for 
Search instead for 
Did you mean: 
haplo
Member II

Disable Site Managers being able to change themes.

Disable Site Manager being able to change the themes of a site.

A pretty simple question, but so far I haven't had any luck being able to go through with this.

The only option I've seen is deleting the current themes, apart from the one you wish to keep but this is more or a hack-job solution.

I wish for an Admin to be able to change and set the entire site theme through the admin tools, but disable site managers from doing so to individual sites through the site customization page.

Using Alfresco 5.2.

Regards,

Tom.

2 Replies
krutik_jayswal
Senior Member II

Re: Disable Site Managers being able to change themes.

Basically you need to customize/override/extend customise-pages webscript.

Simple solution will be remove below code from customise-pages.get.html.ftl file.

<!-- Theme -->
<h2>${msg("header.theme")}</h2>
<div class="flat-button">
<select id="${el}-theme-menu">
<#list themes as t>
<option value="${t.id}"<#if t.selected> selected="selected"</#if>>${t.title?html}</option>
</#list>
</select>
</div>

afaust
Master

Re: Disable Site Managers being able to change themes.

In addition you might want to secure the web scripts that handle the form submission for that page so that nobody can craft a form submission using browser tools, e.g. Firefox HTTPRequester plugin.