ocastaned Posted December 9, 2015 Share Posted December 9, 2015 I am trying to remove categories on domain search page. Here a screen shot: https://gyazo.com/eedf2cc022457f336ec50d75c6a73270 But I only wanna leave one of them, the last category that shows all domains available. How can I accomplish that? Thank you 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 9, 2015 Share Posted December 9, 2015 you could remove the following from six/domainchecker.tpl {foreach $tldcategories as $tldCategory} <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="#collapse{$tldCategory->id}" aria-expanded="{if $tldCategory@first}true{else}false{/if}" aria-controls="collapse{$tldCategory->id}" class="domain-tld-pricing-category"> {$tldCategory->category} {$LANG.tldpricing} </a> </h4> </div> <div id="collapse{$tldCategory->id}" class="panel-collapse collapse{if $tldCategory@first} in{/if}" role="tabpanel" aria-labelledby="heading{$tldCategory->id}"> <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 $tldCategory->topLevelDomains as $tld} <tr> <td>{$tld->tld}</td> <td class="text-center">{$tldpricing.{$tld->tld}.period}</td> <td class="text-center">{if $tldpricing.{$tld->tld}.register}{$tldpricing.{$tld->tld}.register}{else}{$LANG.domainregnotavailable}{/if}</td> <td class="text-center">{if $tldpricing.{$tld->tld}.transfer}{$tldpricing.{$tld->tld}.transfer}{else}{$LANG.domainregnotavailable}{/if}</td> <td class="text-center">{if $tldpricing.{$tld->tld}.renew}{$tldpricing.{$tld->tld}.renew}{else}{$LANG.domainregnotavailable}{/if}</td> </tr> {/foreach} </tbody> </table> </div> </div> </div> </div> </div> {/foreach} 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.