Jump to content

Edit History

ELEGANTAL

ELEGANTAL

Hello

The solution I found to this problem was to use single quote inside l() function and add controller name to l() function like the following:

$this->module->l('Your text.', 'Example')

You should not pass controller class name, just use controller name.
My controller class name is MymoduleExampleModuleFrontController but I have to use the key word Example because it is actual name of controller.

ELEGANTAL

ELEGANTAL

Hello

The solution I found to this problem was to simply add controller name to l() function like the following:

$this->module->l('Your text.', 'Example')

You should not pass controller class name, just use controller name.
My controller class name is MymoduleExampleModuleFrontController but I have to use the key word Example because it is actual name of controller.

ELEGANTAL

ELEGANTAL

Hello

The solution I found to this problem was to simply add controller name to l() function like the following:

$this->module->l('Your text.', 'Example')

You should not pass controller class name, just use controller name. My controller class name is MymoduleExampleModuleFrontController but I have to use the key word Example because it is actual name of controller.

×
×
  • Create New...