pepo1
#1
The language variable "text_company_status_new_to_active_administrator_created" has the following text:
"...You can now access the administrator area: [link_text] by using the following credentials:..."
I want to change the link by adding a url variable to it. Where can I find where this link is generated?
Thanks!
SDAD
#2
The language variable "text_company_status_new_to_active_administrator_created" has the following text:
"...You can now access the administrator area: [link_text] by using the following credentials:..."
I want to change the link by adding a url variable to it. Where can I find where this link is generated?
Thanks!
Hello!
Please find vendor_url variable in this code in fn.companies.php file:
$mailer->send(array(
'to' => $company_data['email'],
'from' => 'default_company_support_department',
'data' => array(
'company' => $company_info,
'user_data' => $user_data,
'reason' => $reason,
'status' => __($status_to == 'A' ? 'active' : 'disabled'),
'status_from' => $status_from,
'status_to' => $status_to,
'e_username' => $e_username,
'e_account' => $e_account,
'e_password' => $e_password,
'vendor_url' => fn_url('', 'V'),
'company_data' => Registry::get('settings.Appearance.email_templates') !== 'new'
? $company_info
: null, // backward compatibility for file templates
),
'template_code' => 'company_status_notification',
'tpl' => 'companies/status_notification.tpl', // this parameter is obsolete and is used for back compatibility
), 'A');
You can also change the url in "Company status change" e-mail template in the admin panel if you use new e-mail template editor.
pepo1
#3
Hello!
Please find vendor_url variable in this code in fn.companies.php file:
$mailer->send(array(
'to' => $company_data['email'],
'from' => 'default_company_support_department',
'data' => array(
'company' => $company_info,
'user_data' => $user_data,
'reason' => $reason,
'status' => __($status_to == 'A' ? 'active' : 'disabled'),
'status_from' => $status_from,
'status_to' => $status_to,
'e_username' => $e_username,
'e_account' => $e_account,
'e_password' => $e_password,
'vendor_url' => fn_url('', 'V'),
'company_data' => Registry::get('settings.Appearance.email_templates') !== 'new'
? $company_info
: null, // backward compatibility for file templates
),
'template_code' => 'company_status_notification',
'tpl' => 'companies/status_notification.tpl', // this parameter is obsolete and is used for back compatibility
), 'A');
You can also change the url in "Company status change" e-mail template in the admin panel if you use new e-mail template editor.
Thanks! Where is the fn.companies.php file?
SDAD
#4
Thanks! Where is the fn.companies.php file?
It is in the app/functions folder.