The button is not a dropdown, it is just a link...

I check to see if i could find if the javascript for it was loaded, but it wasnt couldnt find it anywhere on the page.

Someone? And the no dropdown option is NOT checked in the admin.

Comments

Michsk’s picture

i got this working by changing the addtoany.module file but is there no other way?

W.M.’s picture

Hello,

I have same issue. Would you please tell me what modifications to addtoany.module are needed to make it work?!

Thanks

micropat’s picture

Is it possible that your theme is not fully outputting footer contents? This module uses hook_footer to output the required JavaScript.

kosmogos’s picture

What micropat said is right. It uses the hook_footer. Make sure "print $closure;" (which outputs the hook_footer) is in your template.php file. That should do it.
Hope this helps.

omar alahmed’s picture

Thank you kosmogos, yes it was $closure variable issue. we should print it in our theme page.

micropat’s picture

Status: Active » Closed (fixed)
jalneal’s picture

Sorry for asking such a dumb question - I'm not to saavy on the PHP side of things -
you don't simply add print $closure; into template.php do you? Do you have to do something to associate it with hook_footer? I still can't get my dropdown to work.

Michsk’s picture

place:

<?php
print $closure
?>

at the bottom of page.tpl.php

micropat’s picture

Title: No dropdown » No dropdown (due to missing $closure variable in theme)