Im change my admin fax field to textarea successfuly but now got problem on frontpage .text is not shown exatcly as I enter in textarea -system does not recognize new line for example if I enter in my textarea:
some
text
it will show:
some text
What exatcly impact on textarea formating
thanx
opencart version 2.0.1.1
some
text
it will show:
some text
What exatcly impact on textarea formating
thanx
opencart version 2.0.1.1
It seems that OpenCart strips format of your text. Could you take some screenshots about the problem so I can take a look at it closer?skip wrote:Im change my admin fax field to textarea successfuly but now got problem on frontpage .text is not shown exatcly as I enter in textarea -system does not recognize new line for example if I enter in my textarea:
some
text
it will show:
some text
What exatcly impact on textarea formating
thanx
opencart version 2.0.1.1
Our free extensions:
Advanced Layout System, Display Raw Product Description in Product List, Minimum Order Amount Requirement, Add to Wish List Redirect for Anonymous Customer
Glad to hear that you figured out the problemskip wrote:Thank you opencarthow.com - I was solved problem in meanwhile:
There is funkction in controller for such problems "nl2br"
so change:
'fax' => $location_info['fax']
to:
'fax' => nl2br($location_info['fax'])

Our free extensions:
Advanced Layout System, Display Raw Product Description in Product List, Minimum Order Amount Requirement, Add to Wish List Redirect for Anonymous Customer
Who is online
Users browsing this forum: Bing [Bot] and 63 guests