Adding flags on comment form
If you want to add a flag link on a form but instead of through formname.tpl.php you want to add through a function in template.php, you can
How to add CSS classes to nodes, based on flags set
A sort of "swiss army knife" when theming a node is to have a CSS class added to it for each flag set. So, for example, if the node is
How to implement Digg-like links
Having links that show the number of times some content is flagged is easy. All that's needed is to embed a count token in the labels for
How to show an image beside the text
What if we want to show a little icon to the left of the link text?
How to show images instead of text
The previous recipe explained how to show an image beside the text.