in want to set strtolower into product description.in admin. for uppercase to lowercase plz help
Printable View
in want to set strtolower into product description.in admin. for uppercase to lowercase plz help
As with all of your posts, an explanation of what business problem you're trying to solve with this would be helpful.
I suppose it is possible, with custom coding of the editor you're using or the built-in plain text editor. There's no easy way I know of for a non-programmer to add that function.
This will output: hellow how are you?Code:Print(strtolower("HeLLow how are you?"));>
This will output: i am happyCode:$happy = "I am happy";
Print(strtolower($happy));>
.
But___ it NOT working on Array >>
Code:$parameters = array('products_name' => '',
'products_description' => '',
'products_url' => '',
I did it :D
and that's AWESOME.. glad you got it worked out.. How about SHARING what you did so that OTHERS can benefit.. After all the community helps you when you ask.. and others benefit from the information..
It would also help if you said which editor you are suing as well..
admin\includes\modules\product\preview_info.php
in line 173
toCode:echo zen_draw_hidden_field('products_description[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_description[$languages[$i]['id']]), ENT_COMPAT, CHARSET, TRUE));
:smile:Code:echo zen_draw_hidden_field('products_description[' . $languages[$i]['id'] . ']', htmlspecialchars(strtolower($products_description[$languages[$i]['id']]), ENT_COMPAT, CHARSET, TRUE));