cancel
Showing results for 
Search instead for 
Did you mean: 

Dears, Can anyone help me how to change alfresco copyright footer

sherzad_zahid
Champ in-the-making
Champ in-the-making

here is my footer file contents 

/* Footer Component */
.footer
{
background-color: #fafafa;
border-top: 1px solid #ccc;
text-align: center;
padding: 0;
}

.footer .links
{
padding: 0 2em;
}

.footer .copyright
{
font-size: 9px;
}

.footer-ent .copyright
{
margin: 0 auto;
width: 450px;
display: block;
}

.footer-com .copyright
{
display: inline-block;
line-height: 22px;
padding: 2px;
}

.footer-ent .copyright
{
padding: 13px 1.5em;
}

.footer-ent .licenseHolder
{
}

.footer-ent .copyright a
{
float: left;
margin-top: -2px;
}

.footer-com .copyright img
{
padding-right: 1em;
vertical-align: baseline;
}

.footer-ent .copyright img
{
padding-right: 1em;
}

.footer-com .copyright span
{
display: inline-block;
}

.footer-ent .copyright span
{
position: relative;
}

1 REPLY 1

calvo
Star Collaborator
Star Collaborator

Hi,

Sorry, but I don't know what do you really need to change, but maybe you can make a new theme.

In your theme you can change the following file as you need it: footer.get.html.ftl

<@markup id="custom-footer" target="html" action="replace" scope="global">
<@uniqueIdDiv>
<#assign fc=config.scoped["Edition"]["footer"]>

<div class="footer ${fc.getChildValue("css-class")!"footer-com"}">
<#if theme == msg(theme + "." + "theme.id")>
<span class="copyright">
<a href="#" onclick="Alfresco.module.getAboutShareInstance().show(); return false;">
<img src="${url.context}/res/themes/${theme}/images/${msg(theme + "." + "footer.logo")}" border="0" style="height: 28px"/>
</a>
<span>
<span class="licenseHolder">${msg(theme + "." + "license.text")}</span><br>
<span>${msg(theme + "." + "copyright.text")}</span>
</span>
</span>
<#else>
<span class="copyright">
<a href="#" onclick="Alfresco.module.getAboutShareInstance().show(); return false;">
<img src="${url.context}/res/components/images/${fc.getChildValue("logo")!"alfresco-logo.svg"}" alt="${fc.getChildValue("alt-text")!"Alfresco Community"}" border="0"/>
</a>
<#if licenseHolder != "" && licenseHolder != "UNKNOWN">
<span class="licenseHolder">${msg("label.licensedTo")} ${licenseHolder}</span><br>
</#if>
<span>${msg(fc.getChildValue("label")!"label.copyright")}</span>
</span>
</#if>
</div>
</@>
</@>

More information about Alfresco Share Theme:

Share Theme Builder 

Regards,

clv