Your link leads to Alfresco bugtracker. That's not a tutorial, that's a bugreport so it's quite normal that you couldn't get it to work.
Then you have to know that there are 2 types of dashlets, the ones for Share and the ones for explorer. The link you gave was about an explorer dashlet. Is that the one you want?