Indieola Posted May 24, 2016 Share Posted May 24, 2016 Hi all, I've been looking at the page at http://docs.whmcs.com/Editing_Client_Area_Menus but am not really sure what I need to edit from that. I will not be including items such as domains and hosting for now, so would like to remove 'Network Status' from the navbar and replace it with something else. I'd also like to be able to remove items from the two sidebars and replace them with other things that we are selling. I can't seem to figure out where to make these edits. I have looked in templates & templates_c, but don't see it. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 24, 2016 Share Posted May 24, 2016 I've been looking at the page at http://docs.whmcs.com/Editing_Client_Area_Menus but am not really sure what I need to edit from that. I will not be including items such as domains and hosting for now, so would like to remove 'Network Status' from the navbar and replace it with something else. with regards to removing Network Status from the navbar, take a look at the code in either of the two links below.. http://forum.whmcs.com/showthread.php?108806-Remove-Menu-Items-v6&p=445599#post445599 http://forum.whmcs.com/showthread.php?112699-Small-problem-with-hooks!&p=457602#post457602 I'd also like to be able to remove items from the two sidebars and replace them with other things that we are selling. I can't seem to figure out where to make these edits. I have looked in templates & templates_c, but don't see it. the navbar and sidebars are not modified by the templates, changes to them are made via action hooks. basically, you create a .php file in the includes/hooks/ folder and paste the appropriate code into it - some of the examples in the documentation are not quite bug-free, so you may be better off using hook code that either myself or sentq have posted previously in these forums... we've created/modified/removed plenty of sidebars and navbar items between us, so i'm sure that you'll find plenty of examples searching the forums! but if you have a specific sidebar that you want to change, let me know and i'll see if I can give you the code. 0 Quote Link to comment Share on other sites More sharing options...
Indieola Posted May 24, 2016 Author Share Posted May 24, 2016 Thanks for the start on this. I used WHMCS a few years ago and everything seems to have changed. I have started to look around the foum and now am starting to understand hooks, though it does tend to hurt the old noggin. I'm getting there though. This one you wrote was of particular help, so thank you for that: https://forum.whmcs.com/showthread.php?114378-How-to-add-submenu-into-primary-navbar-main-menu My aim is to pretty much pull the main links apart from the menu and sidebars, and replace them with my own. The menu is figured out now I think, I have got to remove, replace and add new items, so that's good. My next question is about the sidebars, is it similar to the way menus work? Do I name a file ???.php and put in there what I want to do in the same way? Also, what do I do to edit the home page, as I'd like to remove the domain search section and have there some simple text saying welcome to the client area. I like the menu bar in the middle, that looks good and am guessing that changing the links on there is something to do with the whole homepage. Your help is very much appreciated, it is helping me to keep up with quitting smoking (bad timing), but it is fun to do things and have them work. Joe 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.