Share button in the footer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2016 07:00 AM
I have created a footer on every page.
Now I want to be able to create a Aikau button.
How can do it from the html ftl using JavaScript?
Right now I have to use it with jquery but I want to use the proper Alfresco Button generation.
Please help!
In my screenshot you can see "Anonym Feltoltes" but is ugly, I need to use the Alfresco Share Button way.
Thank!
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2016 05:23 AM
Is your new footer replacing the existing footer that is always displayed? If so, if you've replaced the existing footer then if you've created it with Aikau then you should just be able to add a button as normal - I'm guessing that you've not done this though from your description.
There are actually two versions of the footer - the original YUI2 based one that is shown on most pages, and the pure Aikau version that is shown on the all-Aikau pages (such as search, search manager, etc).
To add an Aikau button then you should just create an extension to insert the button into the model... if you're not able to do this then you're almost certainly not customizing an Aikau page or Aikau rendered content - in this case you probably shouldn't be trying to use an Aikau widget at all, but instead should be using a YUI2 button.
