At the bottom of the registration form I have the TOC statement "Accept Terms and Conditions". I found the language string to change this in com_comprofiler/plugin/language/en-gb/language.php
So I changed it from
Code:
DEFINE('_UE_TOC','Accept Terms and Conditions');
to:
Code:
DEFINE('_UE_TOC','By applying to be a member you agree to our <a href="something">terms & conditions</a>');
When I refreshed the registration page, the terms sentence doesn't change. Instead, the custom sentence above is found in the HTML code:
Code:
<div class="cbSnglCtrlLbl">
<input type="checkbox" name="acceptedterms" id="acceptedterms" class="required" value="1" mosreq="0" moslabel="By applying to be a member you agree to our <a href="something">terms & conditions</a>">
<label for="acceptedterms">Accept <a href="http://mydomain.com" target="_BLANK"> Terms and Conditions</a></label>
<span class="cbFieldIcons">
<img src="http://mydomain.com/components/com_comprofiler/plugin/templates/default/images/mini-icons/icon-16-required.png" width="16" height="16" alt="* This Field is required" title="This Field is required">
</span></div>
Ok, apparently the string that I have to change is this:
Code:
DEFINE('_UE_TOC_LINK','Accept %sTerms and Conditions%s');
Since I don't want to link to a separate TOC I just change the whole sentence and don't use %s since CB will substitute %s with TOC URL defined in the config.