Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About RyanD

  • Rank
    Junior Member
  1. I went down the dirty CSS method into modules/servers/<name>/template.tpl <style> #tabDownloads, #tabAddons, #tabChangepw { display: none; } </style> I tried writing a hook for ClientAreaProductDetails and ClientAreaProductDetailsPreModuleTemplate that returned an empty value for $downloads but this didn't seem to have an affect e.g. return array("downloads'" => ""); Does anyone know if this should have worked? Looking at the template for templates/default/clientareaproductdetails.tpl there is a conditional display based on whether $downloads is empty or not, so I would have expected the above hook to work.
  2. Thank you for your help. I've explored using a hook but I'm not actually sure how to reference those sections in the hook, it doesn't seem to be documented (unless I've completely missed it). There's plenty of guidance on manipulating menus but actually removing sections from the main body doesn't seem to be as discussed. For example, the ClientAreaProductDetails hook seems to be the correct hook, but I really don't know how to approach stripping the elements from the page using this hook. Hiding the sections using CSS would be an option as they're non-functional anyway, but this would involve changing the "Other" service details template and I only want these sections to be hidden when a service is using my custom provisioning module. Unless I can specify a module-specific override for these as well?
  3. Hi everyone, I've created a provisioning module and I'm overriding the service details template by setting tabOverviewReplacementTemplate via the <module>_ClientArea function. Whilst this has removed the standard WHMCS service overview (product name, billing information etc), the Downloads, Addons and Change Password sections are still displayed beneath the output from my template: https://ibb.co/j8Cw28x There's plenty of guidance on how to change WHMCS' various menus but I don't seem to be able to remove these elements from the page. Would anyone be able to point me in the right direction? Thank you for your help
  • 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