Hello
I've been following Pavel Makhov's tutorial on how to customize alfresco footer but it doesn't work. I'm on Alfresco 6.1.1.
I copied faceted-search.get.js into
/my-project-share/src/main/resources/alfresco/web-extension/site-webscripts/com/project/pages/faceted-search/
footer folder with css, i18n, templates and MyFooter.js are in the
/my-project-share/src/main/resources/META-INF/resources/my-project-share/js/mycmpny/
In the my-extension.xml I have:
<package name="mycmpny" location="resources/my-project-share/js/mycmpny"/>
And in the end of the faceted-search.get.js I pasted:
var footer = widgetUtils.findObject(model.jsonModel, "id", "ALF_SHARE_FOOTER");
footer.config.widgetsForFooter = [{
name: "mycmpny/footer/MyFooter", config: {
semanticWrapper: "footer",
currentYear: new Date().getFullYear(),
snowLabel: "label.snow"
}
}];(I changed ALF_STICKY_FOOTER to ALF_SHARE_FOOTER )
What may be wrong? I have no logs, no errors, the old footer is still displayed.