Jump to content

Modifying "Custom Fields" default title


kits

Recommended Posts

Hi all, recently i have added set of custom fields to a support group. All the the additional fields work just fine and located on the side bar in the support ticket which is nicely placed.

 

My questions is, what is the recommended and safest way to modify the title of the "Custom Fields" itself to something else (dynamically or fix)?

 

Thank you gang.Screen Shot 2015-12-23 at 10.49.47 AM.png

Link to comment
Share on other sites

My questions is, what is the recommended and safest way to modify the title of the "Custom Fields" itself to something else (dynamically or fix)?

the simplest way would be to use a Language Override to modify the language string used...

 

http://docs.whmcs.com/Language_Overrides

 

$_LANG['customfield'] = "Custom Fields";

 

the other way would be to use an action hook to modify the sidebar heading - it's simple enough to do, but unless you specifically need to do this, it would be easier to modify the language string. :)

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.

×
×
  • 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