MJHost Posted August 29, 2015 Share Posted August 29, 2015 Is it possible to remove the TLD Categories in the Domainchecker.tpl, so that only the "All TLD Pricing" is displayed when clients are viewing the Domain Checker on my website? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 30, 2015 Share Posted August 30, 2015 replace the pricing table part of domainchecker.tpl with this... <div id="pricingTable"{if $performingLookup} class="hidden"{/if}> <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="heading{$tldCategory->id}"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseAll" aria-expanded="true" aria-controls="collapseAll" class="domain-tld-pricing-category"> {$LANG.alltldpricing} </a> </h4> </div> <div id="collapseAll" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingAll"> <div class="panel-body"> <div class="row"> <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2 table-responsive domain-tld-pricing-table-responsive"> <table class="table table-striped table-framed"> <thead> <tr> <th class="text-center">{$LANG.domaintld}</th> <th class="text-center">{$LANG.domainminyears}</th> <th class="text-center">{$LANG.domainsregister}</th> <th class="text-center">{$LANG.domainstransfer}</th> <th class="text-center">{$LANG.domainsrenew}</th> </tr> </thead> <tbody> {foreach $tldpricelist as $tld} <tr> <td>{$tld.tld}</td> <td class="text-center">{$tld.period}</td> <td class="text-center">{if $tld.register}{$tld.register}{else}{$LANG.domainregnotavailable}{/if}</td> <td class="text-center">{if $tld.transfer}{$tld.transfer}{else}{$LANG.domainregnotavailable}{/if}</td> <td class="text-center">{if $tld.renew}{$tld.renew}{else}{$LANG.domainregnotavailable}{/if}</td> </tr> {/foreach} </tbody> </table> </div> </div> </div> </div> </div> </div> </div> 0 Quote Link to comment Share on other sites More sharing options...
eacdirectory Posted June 21, 2016 Share Posted June 21, 2016 Hi thanks, the code worked only for single domain search, what about for bulk search? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 23, 2016 Share Posted June 23, 2016 Hi thanks, the code worked only for single domain search, what about for bulk search? that uses a different template, so you'd need to make a similar template edit in bulkdomainchecker.tpl 0 Quote Link to comment Share on other sites More sharing options...
ScottN Posted August 20, 2016 Share Posted August 20, 2016 Looks like this only works for the "five" template. Any tips on making this work with "six" ? - Scott 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 21, 2016 Share Posted August 21, 2016 Looks like this only works for the "five" template. Any tips on making this work with "six" ? "five" doesn't have a collapsible pricing table - only "six" - so the above code is definitely for "six" what are you seeing ? 0 Quote Link to comment Share on other sites More sharing options...
ScottN Posted August 21, 2016 Share Posted August 21, 2016 Thanks, Brian! With a fresh cup of coffee, I see that I was looking at the wrong .tpl file. Indeed, this mod works perfectly with "six". Thanks, again! - Scott 0 Quote Link to comment Share on other sites More sharing options...
gerrybakker Posted October 26, 2016 Share Posted October 26, 2016 It also worked well for WHMCS 7.0.1 You can see it at work on my site at hosting.express I added it to several pages including the home page. 0 Quote Link to comment Share on other sites More sharing options...
pjs32 Posted November 17, 2016 Share Posted November 17, 2016 Hi, How can we get this to work on domainpricelist.php ? as when you go to whatever.com/domainpricelist.php it shows the popular domains pricing,but not All TLD pricing? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 17, 2016 Share Posted November 17, 2016 you mean the 'domainpricelist.php' file that is part of ResellerClubMods free addon - or some other file ? if so, it's encrypted and can't be tweaked - unless there is an option in the settings to do this. it would be relatively simple to produce a page to show all TLD pricing - if nothing else, you could use the domainpricing.php data feed to show them. 0 Quote Link to comment Share on other sites More sharing options...
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.