QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

Add button in Nav Bar

Started by Ronald, May 12, 2019, 02:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ronald

I added a Chat Room to my forum, I'd like to now add a link button in the nav bar.

How is this done.

Thanks

Ron.

Oldiesmann

Christian Metal Fans - https://www.christianmetal.fans

Ronald

Thanks basically the same, I added one line to make it work.

Thanks

lesmond

#3
in source/subs.php

find
Code (Find) Select
'home' => array(
 'title' => $txt['home'],
 'href' => $scripturl,
 'show' => true,
 'sub_buttons' => array(
 ),
 'is_last' => $context['right_to_left'],
 ),
add after
Code (add after) Select
'chat' => array(
 'title' => 'Chat',
 'href' => 'https://google.com', /*replace with your own link*/
 'show' => true,
 'icon' => 'chat.png',
 ),
replace the google link with a link to your chat room

add the icon below to your image folder

The only person who got all his work done by Friday was Robinson Crusoe