SimplePortal

Support => English Support => Frequently Asked Questions => Topic started by: Chen Zhen on November 03, 2014, 08:53:00 PM

Title: Changing text for visible buttons/links
Post by: Chen Zhen on November 03, 2014, 08:53:00 PM
Note: The example edits shown here are for the English language files.
If you use utf-8 and/or another set of language files then edit those appropriately.

There are mainly three text variables that reflect text being shown to your general user base (non administrators).
They are the home and forum links in the navigation bar and [link] that is shown in the text box.
If you wish to change these to something more specific, the possible code to edit is shown below.

The home button is located in the general forum language file.

Home
file: ../Themes/default/languages/index.english.php
find and edit:
Code: [Select]
$txt['home'] = 'Home';



Forum and [link]
file: ../Themes/default/languages/SPortal.english.php
Code: [Select]
$txt['sp-forum'] = 'Forum';
$txt['sp_link'] = '[link]';
SimplePortal 2.3.8 © 2008-2024, SimplePortal