1

Topic: Some problems with functions.php

First, I want to have "Home" instead of "Index" as the first item in the top navigation.
Like this:
$links[] = '<li id="navindex"><a href="index.php">'.$lang_common['Home'].'</a>';

If I change it, the whole navigation item disapears.

Second,

how do you add custom links?

Thanks in advance,

Dirk

2 (edited by Strofanto 2006-04-23 18:54)

Re: Some problems with functions.php

because Home is not in the common.php language file
Do this:

$links[] = '<li id="navindex"><a href="index.php">Home</a>';

3 (edited by dirks 2006-04-23 19:00)

Re: Some problems with functions.php

Ah k,

got that with the common.php^^

Works now!

Re: Some problems with functions.php

or you can add it in language file

'Home'    => 'Home',

http://www.dharmil.info/ - My site

http://www.yourarcadesite.1.vg/ - My Arcade, Play 250 games online for free and Save your high score!

http://www.forums.dharmil.info/ - My forums i created using php/mysql still working on them about 15% or more done