Search the Community
Showing results for tags 'Question'.
-
Hello, I am trying to create a hook for adding a new element in sidebar. I have created the hook. add_hook('ClientAreaPrimarySidebar', 1, function($primarySidebar) { /* @var \WHMCS\View\Menu\Item $primarySidebar */ $newMenu = $primarySidebar->addChild( 'accountmanager', array( 'name' => 'Home', 'label' => Lang::trans('account_manager'), 'order' => 1, 'icon' => 'fas fa-life-ring', ) ); $newMenu->addChild( 'accountmanager', array( 'label' => Lang::trans('account_manager_label'), ) ); }); I am trying somehow to get the userid, and assign it to a variable. And is it possible to be used in translations? I tried with this one here but it's not working: $variable = $template->getVariable('variablename')->value; $template->assign('variablename ', 'variable');
-
I hope this is the correct area to post this question! I am looking for guidance when setting up game server products in WHMCS, I want the customer to be able to select how much ram and disk space they want when ordering. I’ve tried to read the TCAdmin docs, I’ve spent hours trying to learn by myself and using the docs but I keep coming up short. Does anyone know what I could be doing wrong? Maybe I’m missing something simple; but from where I’m standing right now it seems like a very complex thing to do... TIA!
-
Hi! Does anybody know how I can change this: To this: Either via a hook or in what template do I need to look for this? (I'm also using the Lagom theme)
- 2 replies
-
- Question
- Lagom Theme
-
(and 1 more)
Tagged with:
-
Hi All, Please see the below snap of my WHMCS environment. It seems that after the 6.1.1 upgrade, the security questions and answers are useless to me. I have opened a ticket but I have not received a response since yesterday and this is a problem for me and my clients who are trying to reset their passwords. I would appreciate any help I can get. How do I correct this? Thanks BlueSteam
-
Hi, I'm thinking to lease a WHMCS license soon, however, I have some litte doubts about offering subdomains with a package: - Is there any pre-setup I have to do to the domain I'm wanting to offer subdomains with? Like adding it to my cPanel or pointing it to my NS or installing some sort of thing in it? - Is the creation of the subdomain automated or manual? Thank you for your time.
-
I understand the "Prorata Date" setting but I am looking for it to bill on the last day of the month. If I set it to 31, then not all months have a 31st day. Would it be skipped some months, or would it bill on the last day of every month ? I really need it to be billed on the very last day of every month, because I have a script that updates the price everyday. Thanks, Stephen