Hello,
I'm trying to make an admin panel where all the support can be done.
When I try to list all the tickets it looks like it's limited to 25, is there any way to exceed this limit?
EDIT: After just a couple minutes after creating this post I found the solution.
limitnum int The number of records to return (default: 25) Optional
Kind regards,
Dries
Hello Joel,
I'm 3 years late but maybe this can help other people, you didn't assign ticket departments to your API account, that's why no tickets are returning.
Kind regards,
Dries
Hello,
I'm wondering if there is a way to quickly change the status of services that are overdue to suspended. I sell dedicated servers without a module and when the owner doesn't pay I remove the dedicated from his account manually (not in WHMCS), but I didn't change the status from active to suspended. When I look at overdue Suspensions in the cronjob tab there are 424 failed suspensions.
I hope there is a way to do this. 🙂
Kind regards,
Dries
Hello, I'm trying to add javascript code to make my header sticky, but for some reason the whole website breaks when I add the javascript (no css layout). The code works on my localhost without any problems.
I'm wondering how I can fix this, am I doing something wrong?
<script>
window.onscroll = function() {myFunction()};
let navbar = document.getElementById("navbar");
let headerspace = document.getElementById("header-space");
let sticky = navbar.offsetTop;
function myFunction() {
if(window.scrollY==0){
navbar.classList.remove("sticky");
headerspace.classList.remove("spacing");
navbar.classList.add("header")
} else {
navbar.classList.add("sticky")
headerspace.classList.add("spacing");
navbar.classList.remove("header");
}
}
</script>
Hello,
I'm trying to make a system to configure your own dedicated server, so this means you can select a CPU, storage amount etc.
For the CPU I want people to be only able to select 1 CPU and you also need to select at least one product in each category so you need for example a CPU, is there any way to do this with WHMCS?
Kind regards,
Dries