Jump to content

How we can fix free domain order view


ody

Recommended Posts

Hello,

when we offer a free domain option into any of our hosting plans WHMCS pre-ready view setup giving into one line all TLDs which we offer and this is a dynamic field which expant this line for as many TLDs we offer,

we had try to find where is the css so to change it or we try other code ways or  to add a table or... but we haven'y find a solution for it,

see screen

Thank you in advance

free-domain-problem.png

Link to comment
Share on other sites

2 hours ago, ody said:

we had try to find where is the css so to change it or we try other code ways or  to add a table or... but we haven't find a solution for it,

this will be a bug (or at least not thoroughly tested with a long list of Free TLDs!) - it's certainly a bug in v7.6b1 because it was just outputting "Array" instead of the list - I ended up having to implode the array to get it to output the list... 9_9

hykKdDI.png

assuming you're still using v7.4.2, the problem is the variable is effectively hundreds of characters long with no spaces... if the string had spaces, then it should auto adjust to fill the space just as it did above...

the quick template fix in configureproductdomain.tpl would be to change {$freedomaintlds} to...

{$freedomaintlds|replace:',':', '}

... and get rid of all that unnecessary table code - you don't need it.

so in v7.4.2 locally, i'm now seeing...

2UKtr3U.png

ultimately, you could do it as a simple hook to adjust the variable if required... and if they don't fix it in later v7.6 betas, I may have to!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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