Hi Hiro,
No you need to make your own module. Let's say you call your module anone.
Then:
1. Make a folder in sites/all/modules called anone
2. Make a file inside that folder and call it
anone.info, put the following lines inside
name = " A-NO-NE"
description = "Helper module for small changes in functionality Anone site"
package = "Anone"
dependencies[] = og
core = 6.x
version = "6.x-1.x-dev"
3. Make a second file inside the anone folder and call it anone.module, put inside the lines that I gave you, but replace mymodule in the function name with the real name of the module where you use it in: anone, so
function anone_og_links_alter(&$links, $group_node) {
Start with <?php but don't end with ?>
4. Go in your Drupal admin to modules and activate your module. Should work, if you get a white screen you made a mistake. More information how to make a module you find on
http://drupal.org/node/206753
Good luck,
Hans