ewal Posted July 21, 2018 Share Posted July 21, 2018 Hello, now my add domain page looks like this: i wana ask how to change positions? i want to make "use sub-domain" in first place. what .tpl file i need to edit? im usind SIX template 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted July 21, 2018 Share Posted July 21, 2018 It should be configureproductdomain.tpl right after line 25. You have to invert the "sections" you need. 1 Quote Link to comment Share on other sites More sharing options...
ewal Posted July 22, 2018 Author Share Posted July 22, 2018 11 hours ago, Kian said: It should be configureproductdomain.tpl right after line 25. You have to invert the "sections" you need. Nothing changed I tried refresh page with ctrl + f5 but nothing 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 23, 2018 Share Posted July 23, 2018 @Kian is correct in that editing configureproductdomain.tpl is the solution - but if you're using the Modern orderform template, you should see a series of {if} statements starting at line #16... {if $incartdomains} ... {/if} {if $registerdomainenabled} ... {/if} {if $transferdomainenabled} ... {/if} {if $owndomainenabled} ... {/if} {if $subdomains} ... {/if} so if you want to show subdomains before transfer domains, you simple move the entire {if $subdomains} block of code and move it *before* the {if $transferdomainenabled} block of code... e.g {if $subdomains} <div class="option"> <label class="radio-inline"> <input type="radio" name="domainoption" value="subdomain" id="selsubdomain" />{$LANG.cartsubdomainchoice|sprintf2:$companyname} </label> <div class="domainreginput hidden" id="domainsubdomain"> http:// <input type="text" id="subdomainsld" size="30" value="{$sld}" autocapitalize="none" /> <select id="subdomaintld">{foreach from=$subdomains key=subid item=subdomain}<option value="{$subid}">{$subdomain}</option>{/foreach}</select> </div> </div> {/if} {if $transferdomainenabled} <div class="option"> <label class="radio-inline"> <input type="radio" name="domainoption" value="transfer" id="seltransfer" />{$LANG.carttransferdomainchoice|sprintf2:$companyname} </label> <div class="domainreginput hidden clearfix" id="domaintransfer"> <div class="row"> <div class="col-sm-6 col-xs-8 col-sm-offset-2"> <div class="input-group"> <span class="input-group-addon">www.</span> <input type="text" id="transfersld" value="{$sld}" class="form-control" autocapitalize="none" /> </div> </div> <div class="col-sm-2 col-xs-4"> <select id="transfertld" class="form-control"> {foreach from=$transfertlds item=listtld} <option value="{$listtld}"{if $listtld eq $tld} selected="selected"{/if}>{$listtld}</option> {/foreach} </select> </div> </div> </div> </div> {/if} don't necessarily copy the above code, modify the code in your /templates/orderforms/modern/configureproductdomain.tpl template directly as I don't know which version of WHMCS you have installed. 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.