News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Can't add new tab

Started by AppleGismo, February 09, 2011, 12:12:29 AM

Previous topic - Next topic

AppleGismo

I'm trying to add a custom tab, one beside 'Home' that redirects you to a URL

I have this code, but nothing is showing up on the tab. It's there but no writing is showing. I need it to read 'Blog'

'blog' => array(
'title' => $txt ['Blog'],
'href' => 'http://iphoneglance.com',
'show' => true,
'sub_buttons' => array(
),
),


Is there anything wrong im doing?
Join the best Apple discussion forum

http://www.applegismo.com

SlammedDime

Have you added $txt['Blog'] = 'Blog'; to Modifications.english.php and cleared your file cache yet?

Or better yet, just do 'title' => 'Blog'
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

AppleGismo

I tried writing it as 'title => 'Blog'

but it gave me an error

and where can I find modifications.english.php?

Thanks
Join the best Apple discussion forum

http://www.applegismo.com

AppleGismo

nvm I found the language file and added the code and it worked

Thanks for your help:)
Join the best Apple discussion forum

http://www.applegismo.com

Advertisement: