We're looking at integrating a "Yammer" button into our ThemeBuilder themed Wiki to allow users to Yammer a page/post etc.
The button works by making a call to a Javascript function when pressed. I can put the JavaScript into the custom JS tab, but how would it be called from within the theme?
Currently the menu content looks like this:
{menubar}
{menu}{customlinkicons:fav}{menu}
{menu}{customlinkicons:watch}{menu}
{menubar}
I can't see how external JS/HTML can be called from here?
.png)








Comments (4)
May 03, 2011
Alain Moran says:
Your best bet is to create a user macro which outputs the link ... calling javas...Your best bet is to create a user macro which outputs the link ... calling javascript from wiki-markup is generally avoided as it can open up exploit holes.
May 04, 2011
Sharon Hinde says:
Like this idea, going to have a playLike this idea, going to have a play
May 04, 2011
Mark Gibson says:
You'd need to find a CSS selector that uniquely finds your menu item, then bind ...You'd need to find a CSS selector that uniquely finds your menu item, then bind the click event to that using jQuery:
May 04, 2011
Thomas Janes says:
Thanks very much guys, I will try this out.Thanks very much guys, I will try this out.