NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Player's group on news
Started by Aninamecz

Aninamecz

Aninamecz

Member
Joined
01 Mar 2017
Last Seen
23 May 2021
Topics
3
Posts
7
Hi can u give me tutorial how can i add player's group on main site news ?

THANKS FOR ANSWER AND HELP
x1
Aninamecz · over 7 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
22 Dec 2024
Topics
41
Posts
1076
Hi,

The following assumes you are using the default template, if you are using a different template it may be different.

First, edit pages/index.php with a text editor, remove everything in there, and add this new code inside.

You can then edit styles/templates/Template/index.tpl in a text editor, and you can use the {$news.group} variable in your code, for example:

Edit line 20 of styles/templates/Template/index.tpl and add {$news.group}
x1
Samerton · over 7 years ago