1

Topic: add a go back to... link next login

Sorry to ask again...
How can I do to add a go back to ... link next to login.
I know it's in main.tpl
I tried but it does not work. Where do I exactly have to put that link?

Ludo,

Re: add a go back to... link next login

you will probably need to add it to the generate_navlinks function in functions.php

3

Re: add a go back to... link next login

Maybe.
It's not so simple as it seems to...

Ludo,

4

Re: add a go back to... link next login

Connorhd wrote:

you will probably need to add it to the generate_navlinks function in functions.php

You've got an idea to do that? where exactly in functions.php? Wouldn't it be easier to do that in main.tpl?

Ludo,

Re: add a go back to... link next login

no it would be easier to do it neatly in functions.php in the generate_navlinks function
before

return '<ul>'.implode($lang_common['Link separator'].'</li>', $links).'</li></ul>';

add

$links[] = '<li><a href="http://www.mysite.com">Back to ...</a>';

6 (edited by Ludo 2005-01-13 08:27)

Re: add a go back to... link next login

You're right Connorhd.
It works perfectly.
I also added a link "help" next to "login".

I really thank you!

Ludo,

Re: add a go back to... link next login

It worked great for me too! Now a question, How do I change the word "HOME" in the menu, to read "FORUMS" ??

I tried simply changing the word in functions.php but when I did, the option is blanked out and displays nothing.

Re: add a go back to... link next login

Never mind the last post. I found it had to be changed in the en_common.php file as well as the functions.php file. Worked good.....   wink

9

Re: add a go back to... link next login

update your system to 1.2....

Yours, Benny.