Jump to content

How To Edit The PHP Files


Recommended Posts

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.

Link to comment
Share on other sites

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. 🙂

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated