I have no idea how to pull this off in WHMCS so I'm hoping for some help.
I'm building a module that outputs some data to the client area (CPU usage and stuff like that). I really want this data to update every 5-10 seconds.
I know how to query the data - I just don't know how I can do this in WHMCS.
I thought about creating a custom function in the module that gets the relevant data and then returns it - but WHMCS seems to always want to render the client area 😅
What I basically need is a blank page where I can output json. I need the $params variable, so I can't do this outside of WHMCS.
Question
DennisHermannsen
I have no idea how to pull this off in WHMCS so I'm hoping for some help.
I'm building a module that outputs some data to the client area (CPU usage and stuff like that). I really want this data to update every 5-10 seconds.
I know how to query the data - I just don't know how I can do this in WHMCS.
I thought about creating a custom function in the module that gets the relevant data and then returns it - but WHMCS seems to always want to render the client area 😅
What I basically need is a blank page where I can output json. I need the $params variable, so I can't do this outside of WHMCS.
Any ideas?
Link to comment
Share on other sites
5 answers to this question
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.