AnsweredAssumed Answered

Replace faceted-search footer with custom footer

Question asked by arioh on Feb 16, 2017
Latest reply on Nov 3, 2017 by hiten.rastogi

I've already replaced footer on other pages with custom one (by defining extension on src/main/amp/config/alfresco/site-data/extensions), but seems like it doesn't affect footer on faceted-search page. How can I customize this footer? Should I define another extension or I can somehow use existing one?

On the image are my extension files (+ css in .../web/components/footer).

And footer.get.html.ftl

<@markup id="additional-footer" target="css" action="replace" scope="global" >
   <@link href="${url.context}/res/components/footer/footer.css" group="upload"/>
</@>

<@markup id="additional-footer"  target="html" action="replace" scope="global">
   <@uniqueIdDiv>
   <div class="footer footer-com">
         <span class="copyright">
            <span>${msg("label.copyright")}</span>
         </span>
       <br/>
       <span class="copyright-additional">
            <span>${msg("label.copyright.additional")}</span>
         </span>
   </div>
   </@>
</@markup>

Outcomes