AnsweredAssumed Answered

Custom Aikau footer

Question asked by streetturtle on Feb 29, 2016
Latest reply on Sep 15, 2016 by ddraper
I would like to change Alfresco footer. I already changed it in Surf pages - now it's time for Aikau page(s) (I'm on 5.0.c), like Search Results page.
I'm trying to override the template of the widget (templateString field). So far I created extension:


<extension>
  <modules>
    <module>
      <id>MyCmpny widgets</id>
      <version>1.0</version>
      <auto-deploy>true</auto-deploy>
      <configurations>
        <config evaluator="string-compare" condition="WebFramework" replace="false">
          <web-framework>
            <dojo-pages>
              <packages>
                <package name="mycmpny" location="js/mycmpny"/>
              </packages>
            </dojo-pages>
          </web-framework>
        </config>
      </configurations>
    </module>
  </modules>
</extension>


Created footer template and I want to inject it in AlfShareFooter object like this:

<b>MyFooter.js</b>

define(["dojo/_base/declare",
        "alfresco/footer/AlfStickyFooter'",
        "dojo/text!./templates/my-footer.html"],
       function (declare, AlfShareFooter, template) {
         return declare([AlfShareFooter], {
           templateString: template
         })
       });


But it doesn't work… :(

Outcomes