Jump to content

Devias

Members
  • Content count

    21
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Devias

  • Rank
    Junior Member

Recent Profile Visitors

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

  1. Devias

    Table on productpage

    Hello Brian, Thanks for pointing out where to edit and put the code, works perfectly. Greetings, Elias
  2. Hello everyone, I'm looking for an option to add a table on a productpage. So on productpage gid=3 (for example) after the pricing, i want to add a table with specs (instead of the group features you can add). The same on productpage gid=1 but another table with specs (different than gid=3) The table we have now is in HTML like this: <table> <thead> <tr> <th>Packages</th> <th>Starter</th> <th>Basic</th> <th>Standard</th> <th>Plus</th> </tr> </thead> </div> <tbody> <tr> <td><b>Storage</b></td> <td>1 GB</td> <td>2 GB</td> <td>4 GB</td> <td>6 GB</td> </tr> <tr> This is just an example, not whole code of course 😉 Is it possible to add this with HTML or may'be there is a plugin or hook. Thanks for helping, Elias
  3. Thanks brian for (correcting) the code. Got it all working. Elias
  4. Hello Brian, Thanks for pointing out which files i need to modify the checkout. Your hook worked perfect and i got the tax id now mandatory. I want the company name te be mandatory to, so i used your hook and copy the code. You used &taxcode for the tax id, where can i find that code for the company name? I used this now: <?php # Make Field Required @ Checkout Hook # Written by brian! use App; add_hook('ShoppingCartValidateCheckout', 1, function ($vars) { $taxcode = App::getFromRequest('tax_id'); if (!$taxcode) { return Lang::trans('clientareaerrortaxid'); } $companyname = App::getFromRequest('companyname'); if (!$companyname) { return Lang::trans('clientareaerrorcompanyname'); } }); unfortunately this doesn't work. (tax id still works, but company name doesn't) Should i use the hook in a new file? but apart from this I have been able to adjust the checkout form to our wishes, thanks to your instructions. By the way: the topic that you linked to get the hook needed one correction. There was no quotation mark in the code after removing the optional text in the checkout.tpl. like this: <input type="text" name="tax_id" id="inputTaxId" class="field" placeholder="{lang key=\WHMCS\Billing\Tax\Vat::getLabel()} value="{$clientsdetails.tax_id}"{if $loggedin} readonly="readonly"{else} required{/if}> should be with a quotation mark after ::getLabel()}, <input type="text" name="tax_id" id="inputTaxId" class="field" placeholder="{lang key=\WHMCS\Billing\Tax\Vat::getLabel()}" value="{$clientsdetails.tax_id}"{if $loggedin} readonly="readonly"{else} required{/if}> So if anyone is wondering why you see the value= in your checkout form, you need to add the quotation mark.:) Thanks, Elias
  5. Hello, I want to make some corrections on the registration form, but i can't find where to start. We only sell B2B, that's why i want to modify the registration form so that the company name and tax ID is mandatory (instead of optional) Also i want to add a mandatory field where the customer can add their number of chambre of commerce. Can anyone point me to the right direction? where to start or which file a need to modify to make this happen. Thanks, Elias
  6. Hello, Thanks for your response. I looked at your template, but we are using whmcs for cloud services and not hosting. So the template is not suitable for us, but i will keep whmcs global services in mind if we ever need some customization. Greetings, Elias
  7. Hello Nadal Kumar, I've tried your addon and it looks great. It would be nice if you can display categories (instead of only products) to the homepage to. I will keep this mind. greetings, Elias
  8. Hello everyone, I know this question has been asked many many many times, but i want to show my products on the homepage of whmcs. I know there's a lot of instructions on google and here how to achieve this with hooks and stuff, but I'm looking for a addon/module that would do this (free or paid, doesn't matter). So if someone can point to module(s) who can achieve this, please let me know. thanks, Elias
  9. Hello everyone, I know this question has been asked many many many times, but i want to show my products on the homepage of whmcs. I know there's a lot of instructions on google and here how to achieve this with hooks and stuff, but I'm looking for a addon/module that would do this (free or paid, doesn't matter). So if someone can point to module(s) who can achieve this, please let me know. thanks, Elias
  10. Hello BrianA, I had the same issue and it turned to be a module, after i disabled the module i could save price again. So take a look at your modules, maybe you can disable them one by one to see if that is the issue. good luck
  11. Devias

    No https on login page

    Thanks Brian for pointing this out. I only put the domain url to https in whmcs not the whmcs url, i totaly missed that one. Thanks, problem is fixed.
  12. Devias

    display footer html site on WHMCS

    Brian, This looks great! I'll keep in mind that after an update i need to check the footer and have a backup just in case. Thanks a lot and if i ever meet you, i buy you a beer 🙂
  13. Hello Everyone, I have a problem with ssl. I've installed a ssl certificate, we have whmcs installed on a subdomain, modified the url at settings to https:// and forced ssl in the .htaccess. Now i have the green padlock saying everything is secure, but at the login page it still saying "This connection is not secure, logins entered here could be compromised" So i tested the site here: https://www.whynopadlock.com and as result i get: "This form needs to be updated to use "https://dashboard.oppidumcloud.host/dologin.php" or another secure URL for your padlock to return." It has something to do with mixed content, i think. (see screenshot). I can't figure out what it is, somebody any ideas?
  14. Devias

    display footer html site on WHMCS

    Hello Brian, Thanks for getting me in the right direction. I added HTML code in the footer.tpl and made a custom css stylesheet. Creating 4 columns same as the original header. The only thing is, i want to have a full width background color, but that seems to be harder then i thought. Is it wise to put the html code in the footer.tpl or should i make a hook for this? Edit: forgot to say, we only sell hosting in the Netherlands so language should be dutch (or English)
  15. Kian, I have to agree with you, it's hard to have some privacy nowadays. I must say i don't have any social media (no facebook or instagram) personal only for business. So i have a little bit of privacy:-)
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated