Difference between revisions of "Packages:webmods"

From PrometheusIPN Wiki
Jump to: navigation, search
(Created page with "==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...")
 
Line 10: Line 10:
 
*Find the inc/header.php file
 
*Find the inc/header.php file
 
*Create a new line after line 267
 
*Create a new line after line 267
*Paste the following function.
+
*Paste the following line onto line 268(which should be empty):
<nowiki><li class="nav-item">
+
**<nowiki><li class="nav-item">
    <a class="nav-link" href="https://yourdomain.tld/somelink">
+
<a class="nav-link" href="https://yourdomain.tld/somelink"></i> LINK NAME</a>
        </i> LINK NAME
 
    </a>
 
 
</li>
 
</li>
 
</nowiki>
 
</nowiki>
 +
*Modify "https://yourdomain.tld/somelink" into the link that you'd like the button to go to.

Revision as of 03:05, 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.

  • Find the inc/header.php file
  • Create a new line after line 267
  • Paste the following line onto line 268(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.