02-16-2017 01:52 AM
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>
02-16-2017 04:59 AM
If you search for "faceted search footer" on this platform, the second result is a 2-year old question about the same topic that has already been replied too. You need to perform modify the JSON model of the page by using a Surf extension module with a post-processor JavaScript controller on the faceted-search.get web script. The footer.get.html.ftl will only work for the "old", non-Aikau footer in hybrid or full YUI pages. But faceted-search is a full-Aikau page without the global footer component.
02-16-2017 05:45 AM
Alex, thank you. I saw this question, but, to be honest, I doesn't fully understood what exactly was done by Douglas. Your clarification appreciated and helped to understand what I should do to make it work.
08-07-2017 11:28 AM
I don't know if you are still searching for the solution for this, but his blog post has all the required steps:
11-03-2017 07:52 AM
Hi Douglas,
I have tried the Pavel Makhov link and it doesn't seems to be working for me. Any idea what I need to do more.
Explore our Alfresco products with the links below. Use labels to filter content by product module.