Jump to content

How to display multi-language on front-end from module config???


PWaddict
 Share

Recommended Posts

How can I make the module's config value of InputfieldTextarea to be multi-language so I can get each language value on front-end?

$f = $modules->get('InputfieldTextarea');
$f->name = 'test';
$f->label = __("Test");
$f->columnWidth = 100;
if(isset($data['test'])) $f->value = $data['test'];

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...