Skip to Content Skip to Menu

[SOLVED] Changing TOC wordings doesn't work

  • apdt
  • apdt
  • OFFLINE
  • Posts: 92
  • Thanks: 2
  • Karma: 3
13 years 4 months ago - 13 years 4 months ago #166287 by apdt
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 &lt;a href=&quot;something&quot;&gt;terms & conditions&lt;/a&gt;"> <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>

So where/how can I change the wordings?
Last edit: 13 years 4 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • apdt
  • apdt
  • OFFLINE
  • Posts: 92
  • Thanks: 2
  • Karma: 3
13 years 4 months ago #166335 by apdt
Replied by apdt on topic Re: Changing TOC wordings doesn't work
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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum