Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

10 Good

About John.Helyar

  • Rank
  1. Hi there hope you can help I am having a problem with domain registration where you do a search for a domain and it comes back saying its available so you click Add to Cart and it does nothing you can't click add to cart as the cursor changes to a red circle with a red line through it like a no entry sign I thought it might of been my theme but change it back to default theme and still didn't work don't seem to show anything in error logs, I'm using Resellerclub for my domains the API is all set and IP is whitelisted If you can help that would be great Regards John
  2. John.Helyar

    Help with Hooks Please

    Ok I have just tried this and its working fine been able to hide the Product Addons now as well without it breaking so thank you very much for your help was on it for a while last night just couldn't get my head around it So again thank you for your help
  3. John.Helyar

    Help with Hooks Please

    Hi there Hope you can help I'm currently in the process of building our new site and having a bit of a problem with using Hooks I'm trying to adjust the Sidebar menu on the order forms so under Categories where it lists the items I'm trying to use Hooks to change the URL to go somewhere else. Also under the actions bit, I was trying to hide the Domain Renewals section I'm using the below code to do this <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function($secondarySidebar) { $secondarySidebar->getChild('Categories') ->getChild('Web Hosting') ->setUri('https://www.domain-name.uk/webhosting'); }); add_hook('ClientAreaSecondarySidebar', 1, function($secondarySidebar) { $secondarySidebar->getChild('Categories') ->getChild('Reseller Hosting') ->setUri('https://www.domain-name.uk/reseller-hosting'); }); Now, this does what I want it to do with no problem but when I go to the client area the page is blank it won't load if I remove the file from the Hooks folder the client area loads fine. I have found a few different ways of doing it but I haven't had any luck and I hope that someone can shed some light on it as I have run out of ideas or if there is a better way of doing this without using hooks maybe I look forward to your reply.
  4. John.Helyar

    Help with Custom Homepage

    Ok that sounds simple enough i will have ago at that tonight and see how much i can do it with it Cheers for your help on this Cheers John
  5. John.Helyar

    Help with Custom Homepage

    Hi there i have a Dev license that i am working on and going to then backup up the changes i have made to merge in to the live site. Cheers for the info on the Header.tpl that will be helpfull with regards to adding content to the home page like info about the company and latest deals how do i go about doing that?
  6. John.Helyar

    Help with Custom Homepage

    Hi there Hope you can help i am fairly new to changing the whole look and feel of WHMCS we are currently working on the last version before 6 so i am trying to get my head around WHMCS 6 before we do the update let me explain what i am doing Currently I have a wordpress site with a bridge to WHMCS but looking at WHMCS 6 i should be able to put everything on that and not have to use a wordpress site. So my question/problem is that i am getting lost in how to edit the homepage and how to create new pages for my other products i have read about using hooks and using one of the post been able to tweak my main Nav Bar but i cant seem to find info on adding info direct to the home page how to to tweak the Shortcut bar under where it says What would you like to do today? i cant even find where to change that at the mo. So if any one can give me some hints and tips and point me in the right direction that would be great Cheers John

Important Information

By using this site, you agree to our Terms of Use & Guidelines