Fr4nsson 1 Posted April 1, 2019 Share Posted April 1, 2019 (edited) What is the easiest way to add a button in the blue circle-area in the picture below? a button like the two other buttons thats already there but with a different name? https://drive.google.com/file/d/1ufZBVU9XHRFShXVDyCaoZKkaB4lElZ6n/view Im fully aware that it will prob reset on update but i still want to know how to do it. Edited April 1, 2019 by Fr4nsson Link to comment Share on other sites More sharing options...
Happy2Play 8336 Posted April 1, 2019 Share Posted April 1, 2019 Link requires access. But if I understand correctly you would have to edit html file/files within the system/dashboard-ui folder and make those changes with every server update as that folder is replaced. Link to comment Share on other sites More sharing options...
Fr4nsson 1 Posted April 1, 2019 Author Share Posted April 1, 2019 (edited) Yeah thats what i figured aswell but i've been looking around for 2 hours trying to find the right html's to edit but no luck. I checked home.html and index.html and from what i could understand i need to change the js-files in "dashboard-ui\home\" but yeah im not sure. home.html for instance has <div class="tabContent pageTabContent" id="favoritesTab" data-index="1"> and the only other place i managed to find the id "favoritesTab" was in dashboard-ui\home\favorites.js So i figure i have to edit home.html by adding <div class="tabContent pageTabContent" id="myownTab" data-index="1"> <div class="sections"></div> </div> And then i i think i need to make a myown.js in dashboard-ui\home\ but i dont know what to write in it. Edited April 1, 2019 by Fr4nsson Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now