Jump to content

Joris

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Joris

  1. Hello, I would like to know how to get to the real Smarty object so i can do ->registerPlugin on it. Basically I'm trying to get one plugin to register a function as another plugin.According to smarty, the plugin gets an object of type Smarty_Internal_Template, but that didn't work as the object passed is WHMCS_Smarty type.After changing that, i can get the plugin to work, but i can't do $template->registerPlugin or $template->smarty->registerPlugin as the registerPlugin method is undefined on WHMCS_Smarty. Any help would be much appreciated.
  2. Great, I'll do that. Thanks for the quick reply!
  3. Hello, I'm trying to make a hook for after a domain has been registered.The idea is some A records are created on a successful registration. The problem is, I need to know which fires first, the AfterModuleCreate hook or the AfterRegistrarRegistration, because I need some information from the module that the domain is coupled with. So, if an order is made with a hosting product coupled to a domain registration, is the hosting product created first, or the domain?
×
×
  • 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