NamelessMC

Internet Explorer

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

Links in navbar
Started by Ryxn

Ryxn

Ryxn

Member
Joined
11 Jun 2016
Last Seen
01 Sep 2016
Topics
2
Posts
3

Just a simple question: Can you make links in the navbar? And if so how?

Ryxn · over 8 years ago
Ariuw

Ariuw

Contributor
Joined
28 May 2016
Last Seen
18 Aug 2024
Topics
13
Posts
70

You can create a custom page and then link it to the navbar, footer or just do not link the section on here:

http://YOUWEBSITE.TEST/admin/pages

<p>• 22 | @ElReinoOficial</p>
Ariuw · over 8 years ago
Ryxn

Ryxn

Member
Joined
11 Jun 2016
Last Seen
01 Sep 2016
Topics
2
Posts
3

I know how to make a custom page. What I'm wondering is if it's possible to link it to an external website.

Ryxn · over 8 years ago
yshf99

yshf99

Contributor
Joined
06 Jun 2016
Last Seen
31 Dec 2018
Topics
5
Posts
38

Yes, Go into the core/includes/templates and edit the navbar.php file.  There is // before the palces in the file saying where stuff will be palced and add a line like ">(Name)</li>

<p>PyroRealms: <a href="http://pyrorealms.net" target="_blank">http://pyrorealms.net</a></p> <p>Template I realy should be working on now...: <a href="http://demo.uniquedimensions.net/" target="_blank">http://demo.uniquedimensions.net/</a></p> <p>Multicraft I made the theme for: <a href="http://uniquedimensions.net/multicraft" target="_blank">http://uniquedimensions.net/multicraft</a></p>
yshf99 · over 8 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
25 Nov 2024
Topics
41
Posts
1076

Until the formatting of code in posts is fixed (thanks for the post @yshf99), the code you want to add to the navbar template file is this.

Samerton · over 8 years ago