CMS MADE SIMPLE FORGE

CGBetterForms

 

[#11640] Missing Languagestring + Asset customizing language no working

avatar
Created By: Philippe Thomas (filto)
Date Submitted: Wed Nov 15 20:27:36 -0500 2017

Assigned To: Robert Campbell (calguy1000)
Version: 1.1.4
CMSMS Version: 2.2.3.1
Severity: Trivial
Resolution: Fixed
State: Closed
Summary:
Missing Languagestring + Asset customizing language no working
Detailed Description:
In Admin CGBetterForm :  "Validation tab" : use "detect html tags in form input"

in frontend when insert html tags in form input..

error : Missing Languagestring: err_input_htmldetected -- 
---
moreover
in CGBetterForms/lang/en_US.php
missing end php tag "?>"  at the end of file.
---
customizing language string does not work by using  :
/assets/CGBetterForms/lang/en_US.php
with this sample content :
<?php
$lang['err_input_htmldetected'] = 'Erreur : injection de code html';
?>


History

Comments
avatar
Date: 2017-11-18 10:28
Posted By: Robert Campbell (calguy1000)

I added the missing language string
but the proper path for customization is
/assets/modules/CGBetterForms/lang/en_US.php

so you were partially incorrect
      
Updates

Updated: 2018-01-30 18:00
state: Open => Closed

Updated: 2017-11-18 10:28
resolution_id: => 7