Jump to content

Msonliy

Member
  • Content Count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Msonliy

  • Rank
    Junior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello ! I am a new php developer and I have a question. I'm developing a WHMCS Theme. But I'm new to PHP and I know the basics of Whmcs. For example, I want to get the following output somewhere I want in my custom theme. I don't know how to do this. How can I get the codes I wrote with Hooks into the html field I want? I really need the help of a helpful person. Thanks... <?php add_hook('ClientAreaPage', 1, function($vars) { print_r($vars['announcements']); });
  2. <div class="col-md-6" style="display:none;"> <div class="form-group"> <label for="inputNs1prefix">{$LANG.serverns1prefix}</label> <input type="text" name="ns1prefix" class="form-control" id="inputNs1prefix" value="ns1" placeholder="ns1"> </div> </div> <div class="col-md-6" style="display:none;"> <div class="form-group"> <label for="inputNs2prefix">{$LANG.serverns2prefix}</label> <input type="text" name="ns2prefix" class="form-control" id="inputNs2prefix" value="ns2" placeholder="ns2"> </div> </div> You're welcome. Can you try again?
  3. Hello, Follow the steps below. templates > orderforms > configureproduct.tpl The following code will remove ns1 and ns2. The content of the form will be ns1 and ns2. <!-- NS1 && NS2 --> <div class="col-md-6 d-none"> <div class="form-group"> <label for="inputNs1prefix">{$LANG.serverns1prefix}</label> <input type="text" name="ns1prefix" class="form-control" id="inputNs1prefix" value="ns1" placeholder="ns1"> </div> </div> <div class="col-md-6 d-none"> <div class="form-group"> <label for="inputNs2prefix">{$LANG.serverns2prefix}</label> <input type="text" name="ns2prefix" class="form-control" id="inputNs2prefix" value="ns2" placeholder="ns2"> </div> </div> <!-- NS1 && NS2 //--> You will need css to capitalize the first letter. Example: <input type="text" class="form-control" style="text-transform: capitalize";> Hope these help.
  4. I need hook that will display the price of products in my custom theme. Can you help with this?
  5. Can you share the screenshot of the place you want?
  6. Hello, This might work for you. Whmcs > templates > (Your Active Template) > header.tpl Specify width. I hope this solves your problem.
  7. Hello, If you want to edit from template. Whmcs > Templates > Orderforms > (Your Active Cart) > configureproduct.tpl If you want to edit from language file. Whmcs > Lang > $_LANG['orderForm']['configureDesiredOptions']
  8. Hello, This might work for you. I haven't tested it, please check the details. <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar) { $secondarySidebar->removeChild('Categories'); // Menu İtem Name $secondarySidebar->removeChild('Actions'); // Menu İtem Name });
  9. Thank you information... Did you find a solution for this issue?
  10. {if $client.fullName == "Your Client Name"} New Code {else} Code {/if} Looking for something like this?
  11. Hello, Actually, the easiest way to do this work is to work on localhost.
  12. Hello, I need urgent help. Where is the Clientarea Datatables HTML Code? Thank you.
×
×
  • 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