waverider Posted June 18, 2009 Share Posted June 18, 2009 Hello, 1. Is it possible to translate custom fields names? (labels) 2. I've noticed a strange behaviour for hooks. I'm using WHMCS ver. 4.0.1 and I couldn't get a hook to work until I had deleted from server the file vatnumbervalidation.php (which I have enabled previously as commented in file). I have a function added on same hook as the above file: add_hook("ClientDetailsValidation", 99,"my_hook",""); From what I read, WHMCS supports multiple hooks on same event. I assume that order number is the problem (99 above as example). I tried everything: 0 as order number both in VAT validation and my hook, 0 in one file 1 in the other etc. Nothing worked. It was only "enabling" the VAT hook but not mines as well. Until I deleted the VAT file that contained the hook. Now my hook works. But I need the VAT as well. Thanks 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.