Daniel, you mean the plugin is working, though the xgadget is not working? Try checking if you pasted the whole xgadgets code. What is an error message exactly? What version of Elgg are you using? xgadgets support only version 1.6 and earlier right now.