SMF Support > SMF 2.0.x Support

Adding Nav Buttions in 2.0

<< < (5/6) > >>

Waxman:
Ok it didn't work
I suscsesfully xhanged the Home button to go to my home page but no new button appered when I tyed in (all in correct specing)

--- Code: ---'forum' => array(
'title' => $txt['forum'],
'href' => '$scipturl',
'show' => true,
'sub_buttons' => array(
),
                        ),

--- End code ---
I also tried

--- Code: ---'forum' => array(
'title' => $txt['forum'],
'href' => '$scripturl . ?action=forum',
'show' => true,
'sub_buttons' => array(
),
                        ),

--- End code ---
after i changed my index.english.php to

--- Code: ---$txt['message_index'] = 'Message Index';
$txt['news'] = 'News';
$txt['home'] = 'Home';
$txt['forum'] = 'forum';

--- End code ---

what did I do wrong?

Waxman:
I also tried changing the name in my index.english.php from

--- Code: ---$txt['message_index'] = 'Message Index';
$txt['news'] = 'News';
$txt['home'] = 'Home';
$txt['forum'] = 'forum';

to
$txt['message_index'] = 'Message Index';
$txt['news'] = 'News';
$txt['home'] = 'Home';
$txt['pegasusreplicators_message_boaards'] = 'pegasusreplicators message boards';

--- End code ---
and my forums still disappeared(restored backups so site is OK)

Nathaniel:
Try clearing your file cache in the admin section -> 'Maintenance' menu -> 'Maintenance' tab -> 'Common Tasks' tab -> 'Empty the file cache.' link/option.

Theme/template files in SMF 2 including language files are all cached to save on time and space, because of this you have to wipe the cache before any changes will be loaded.

Waxman:
site still does not show up

metallica48423:
/Themes/default/languages

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version