chaphugnes1321 Posted July 4, 2019 Share Posted July 4, 2019 I have been able to change the CSS design and some of the HTML of the "Six" theme. But now I have only one last task to complete which is to change the navbar links. I found this article https://developers.whmcs.com/themes/navigation/ on about how to change the links but it doesn't explain how to get to the PHP files. So my question is: How can I get to those PHP files via FTP so I can follow the article? Thank you. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Marcus Posted July 5, 2019 Share Posted July 5, 2019 The files referenced do not yet exist until you create them. This is part of the hook system, you will want to read more about this here: https://developers.whmcs.com/hooks/ You simply need to create the necessary hook files with the content you learned from reading the Navigation documentation in order to modify the links. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 5, 2019 Share Posted July 5, 2019 17 hours ago, chaphugnes1321 said: But now I have only one last task to complete which is to change the navbar links. I found this article https://developers.whmcs.com/themes/navigation/ on about how to change the links but it doesn't explain how to get to the PHP files. So my question is: How can I get to those PHP files via FTP so I can follow the article? those sample PHP files are hooks that you would copy, paste and edit into new .php files within the /includes/hooks directory. however, what exactly are you trying to do? change a link in a navbar child from it's current URL to another URL ? if so, that's usually done with hooks as per the above doc... if it's more of a styling issue, then you could access the navbar template in /templates/dix (or custom)/includes/navbar.tpl and make styling changes in there, or play with the css... it all depends exactly on what you're trying to do. 🙂 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.