Jump to content

EPP Code Modification


JimmiSticks

Recommended Posts

14 hours ago, JimmiSticks said:

How can I can change this line of text to read Please contact us to retrieve your EPP code

if you're going to have the output in the one language, then edit the clientareadomaingetepp.tpl and change...

{include file="$template/includes/alert.tpl" type="warning" msg=$LANG.domaingeteppcodeis|cat:" $eppcode"}

to...

{include file="$template/includes/alert.tpl" type="warning" msg="Please contact us to retrieve your EPP code"}

if it needs to be in the client's language, then you'd need to use Language Overrides on the LANG.domaingeteppcodeis string.

you could even use Language Overrides on the {$LANG.domaingeteppcodeexplanation} string, append your text to the end of that string and remove the entire {if} block from the template.

Edited by brian!
Link to comment
Share on other sites

On 13/08/2019 at 8:39 PM, brian! said:

if you're going to have the output in the one language, then edit the clientareadomaingetepp.tpl and change...


{include file="$template/includes/alert.tpl" type="warning" msg=$LANG.domaingeteppcodeis|cat:" $eppcode"}

to...


{include file="$template/includes/alert.tpl" type="warning" msg="Please contact us to retrieve your EPP code"}

if it needs to be in the client's language, then you'd need to use Language Overrides on the LANG.domaingeteppcodeis string.

you could even use Language Overrides on the {$LANG.domaingeteppcodeexplanation} string, append your text to the end of that string and remove the entire {if} block from the template.

Champion! Thank you it works a treat :)

Link to comment
Share on other sites

On 14/08/2019 at 12:39, Remitur said:

You can also create a hook using  ClientAreaPageDomainEPPCode https://developers.whmcs.com/hooks-reference/client-area-interface/#clientareapagedomaineppcode

true - theoretically you could null the eppcode value and change the language string in the same hook... I thought of nulling the value with a hook yesterday, but it never occurred to me about the language string until you mentioned that specific hook. 🙄

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