Menu Problem

Started by [GES]Coach Z, November 07, 2010, 12:21:57 PM

Previous topic - Next topic

[GES]Coach Z

I tried adding a button to my menu but the text will not show up. The link works but there is no text.

Here's my site
http://clan-ges.com/forums/index.php [nofollow]

I added this to subs.php

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


Mitħrandir

#1
The use of the $txt array is related to localization and you have to provide a 'forums' entry inside your language file.

Instead of writing $txt['forums'], put just 'forums' and will be fine.
-- Mithrandir
Proud of using SMF 2.0 on http://polislife.netsons.org/forum

[GES]Coach Z

I get s syntax error when I just put forums

Mitħrandir

You must put

'forums'

with single quotes.
-- Mithrandir
Proud of using SMF 2.0 on http://polislife.netsons.org/forum

[GES]Coach Z

Thanks I fixed it it was because I had ['forums']. I had to remove the brackets.  ;D

Advertisement: