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.
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>
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.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.