OS Property support center

OS_Variables

  • Jim
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 5 months ago #52946 by Jim
OS_Variables was created by Jim
Hi,

I am trying to change the wording of the BT Login module.

Instead of displaying the default text "Log In" , I want to change it to "Agent Login"

I have found the template to change which is... /modules/mod_bt_login/tmpl/default.php, and i need to change the below 'JLOGIN'
<span id="btl-panel-login" class="<?php echo $effect;?>"><i class="fa fa-user"></i> <?php echo JText::_('JLOGIN');?></span>

Obviously i can manually change the text in the template, but the 'JLOGIN' variable must be stored somewhere???????

Is there an easier way to change the variable or are direct changes in the template the best way?

Is there a list of variables that can be changed?

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

More
10 years 5 months ago #52973 by Mr. Dam
Replied by Mr. Dam on topic OS_Variables
Hi,
"Log in" is general sentence of Joomla, so you must translate it in file:
language > en-GB > en-GB.ini
find
JLOGIN="Log in"
and change to
JLOGIN="Agent Login"
Thanks
Dam
The following user(s) said Thank You: Jim

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

Moderators: Mr. DamNguyen Phu Quan