Thian Posted December 30, 2014 Share Posted December 30, 2014 Hey all... This has me beat, as in the screen shot I am looking to change the color of all the * to a different color. I have found one * in the lang folder english.php and made this change; $_LANG['cartdomainsconfiginfo'] = "The following options and settings are available for the domains you have chosen. Required fields are indicated with a <font color='red'>*</font>."; However want his red, I have done a complete search of the folders using dreamweaver but cannot locate the "required" *`s anywhere. Any advice please? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 30, 2014 Share Posted December 30, 2014 This has me beat, as in the screen shot I am looking to change the color of all the * to a different color. I have found one * in the lang folder english.php and made this change; $_LANG['cartdomainsconfiginfo'] = "The following options and settings are available for the domains you have chosen. Required fields are indicated with a <font color='red'>*</font>."; it's best to not get in the habit of directly editing the language files - they'll get overwritten the next time you do a full update - use Language Overrides instead and you won't have to worry about overwriting them. http://docs.whmcs.com/Language_Overrides However want his red, I have done a complete search of the folders using dreamweaver but cannot locate the "required" *`s anywhere. Congratulations, you found one that's not in the templates! what you will need to do is modify the ajaxcart/configuredomains.tpl template by replacing... <tr class="{cycle values="rowcolor1,rowcolor2"}"><td class="fieldlabel">{$domainfieldname}:</td><td class="fieldarea">{$domainfield}</td></tr> with... <tr class="{cycle values="rowcolor1,rowcolor2"}"><td class="fieldlabel">{$domainfieldname}:</td><td class="fieldarea">{$domainfield|replace:'*':'<font color="red">*</font>'}</td></tr> this will replace the current * with a red * 0 Quote Link to comment Share on other sites More sharing options...
Thian Posted December 30, 2014 Author Share Posted December 30, 2014 Thank you ever so much Brian, I would never have found or done this! Works perfectly, Amazing!! 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.