• You are not logged in.
  • 1

Board information

  • Started by wimc
  • 4 Replies
  • wimc
  • Member
  • Reputation: 8
  • From: Washington State
  • Registered: 15-06-2015
  • Posts: 72

Is it possible to change Board information above stats on index page, example: Panther Forum Information

What ever is added in board title in admin/options.

Offline
  • 0
  • Abdulhalim
  • Member
  • Reputation: 17
  • From: Iran, BND
  • Registered: 28-06-2016
  • Posts: 125

Would you like to change the text to something else? Just find the string and change it to whatever you want

panther root / lang / en

The secret of staying young is to live honestly, eat slowly, and lie about your age.

I’m working on improving my English

Offline
  • 0
  • wimc
  • Member
  • Reputation: 8
  • From: Washington State
  • Registered: 15-06-2015
  • Posts: 72

Could do it that way, but if the lang file updates in newer versions, you will need to edit file over and over as the new version rolls out.

Offline
  • 0
  • Chris98
  • Project Manager
  • Reputation: 51
  • From: England, United Kingdom
  • Registered: 15-04-2015
  • Posts: 512

Unfortunately there's no way to do this at the moment. As Abdulhalim points out, you'll need to edit the language string and then the template to get this functionality.

Kind regards,
Christopher Marshall
chris [at] get-aura [dot] org

Project Manager

Offline
  • 0
  • wimc
  • Member
  • Reputation: 8
  • From: Washington State
  • Registered: 15-06-2015
  • Posts: 72

Accomplished. Of course, more then likely will have to make them changes again when newer versions roll out.

lang/en

Changed

msgid "Board info"
msgstr "Board information"

To

msgid "Board info"
msgstr "Information"

include/templates/index.tpl

Changed

<div id="brdstats" class="brd-stats">
    <h4 class="blocktitle"><span class="text">{{ lang.t('Board info') }}</span></h4>

To

<div id="brdstats" class="brd-stats">
    <h4 class="blocktitle"><span class="text">{{ panther_config['o_board_title'] }} {{ lang.t('Board info') }}</span></h4>
  • Last edited by wimc (10-02-2017 15:03:28)
Offline
  • 0

Users in this topic: 0 guests, 0 registered users

  • 1