News:

Wondering if this will always be free?  See why free is better.

Main Menu

How do I add board title on Message Index

Started by dopeitspaul, September 17, 2014, 02:24:05 PM

Previous topic - Next topic

dopeitspaul

Hey everyone, I've been working on my message index recently.
I wanted to know how I can display the name of the board

Here's an image


The title of that board is "Lounge". I wanted the name Lounge to be displayed in that red box I marked.

Is there some code that can make this happen? thanks!

Kindred

edit messageindex.template.php

not sure of the exact location though
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

dopeitspaul

Quote from: Kindred on September 17, 2014, 02:25:38 PM
edit messageindex.template.php

not sure of the exact location though

Yeah i figured. That's how I added the "board name" you see in the red box. I found a location already in the php.

I just need the code on how to get the actual board name

Arantor

$context['name'] should be declared in the message index template, failing that globalise $board_info and use $board_info['name'].

dopeitspaul

Quote from: Arantor on September 17, 2014, 02:57:07 PM
$context['name'] should be declared in the message index template, failing that globalise $board_info and use $board_info['name'].

It worked! thanks

Advertisement: