Warning: The author of this contribution does not provide support for it anymore.

Add Homepage link in header

How can I change { HOMEPAGE } to the text I need? - Add Homepage link in header

How can I change { HOMEPAGE } to the text I need?

by astute02 » Fri Feb 24, 2012 7:03 am

Hallo!
I installed Add Homepage link in header mod using Automod. Now I see { HOMEPAGE } left to the forum list inscription on my index page. What am I to do to change { HOMEPAGE } to the text I need? My phpBB 3 board is in Russian.
Thank you
astute02
Registered User
Posts: 12
Joined: Wed Feb 22, 2012 10:15 am
Contact:

Re: How can I change { HOMEPAGE } to the text I need?

by Oyabun1 » Fri Feb 24, 2012 8:51 am

The default MOD only adds the language changes for English.

Open language/ru/common.php

Find

Code: Select all

   'HOME'                     => 'На главную',

After add

Code: Select all

   'HOMEPAGE'                  => 'любой',

Where любой is whatever you want to use for the name of the link to the homepage.

Make sure you use a proper text editor to make the change, such as one of these, [wiki=Text_Editors]text editors[/wiki]. The encoding to save files in is UTF8 without BOM.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill