I am still very new to drupal and have let to use all the hooks and coding needed to do everything, now I have come up with a problem, which I can not seem to fix either with a module or by looking at code posted online.
I am using the forum core module from drupal 7 to build a forum, within my page.tpl file I have the render($action_links) option printed on each page. This works fine for logged in user. It displays a 'add new forum topic' as a link. However when a non-user views the forums, its displays 'Log in to post new content in the forum'.
My problem / issue is that only the 'Log in' words are linked to the user login in page and not the whole text. I would like to move the tag drupal placed after the 'Log in' and move it to the end of the text!
I think I would have to use hook_menu something but I can't really find any information on how to do this for the $action_links. All the hook_menu options I find seem to deal with controlling the main menu output.
Any help give would be most welcome...