Difference between revisions of "Packages:webmods"

From PrometheusIPN Wiki
Jump to: navigation, search
(Adding a tab to the navigation bar)
Line 8: Line 8:
 
==== Adding a tab to the navigation bar ====
 
==== Adding a tab to the navigation bar ====
 
To add a tab to the navigation bar please follow the below steps.
 
To add a tab to the navigation bar please follow the below steps.
*Find the inc/header.php file
+
*Go the inc folder and find header.php
*Create a new line after line 267
+
*Create a new line after line 268
*Paste the following line onto line 268(which should be empty):
+
*Paste the following line onto line 269(which should be empty):
 
**<nowiki><li class="nav-item">
 
**<nowiki><li class="nav-item">
 
<a class="nav-link" href="https://yourdomain.tld/somelink"></i> LINK NAME</a>
 
<a class="nav-link" href="https://yourdomain.tld/somelink"></i> LINK NAME</a>

Revision as of 03:14, 26 January 2021

Web Modifications

Overview

This is a brief overview for some of the supported web modifications to Prometheus. This follows all of the rules of the modifications page.

If you'd like to submit a modification to us and have it added to the Wiki, please feel free to submit a ticket or contact us on the Prometheus Discord.

Adding a tab to the navigation bar

To add a tab to the navigation bar please follow the below steps.

  • Go the inc folder and find header.php
  • Create a new line after line 268
  • Paste the following line onto line 269(which should be empty):
    • <li class="nav-item"> <a class="nav-link" href="https://yourdomain.tld/somelink"></i> LINK NAME</a> </li>
  • Modify "https://yourdomain.tld/somelink" into the link that you'd like the button to go to.