| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
HTML formatted text for custom entities | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
HTML formatted text for custom entities
I have a custom model "Author" whose entities aren't multi-lingual.
Code:
Code:
Code:
Now, my problem is that as these entities are not multilingual and the class Author doesn't extend \XLite\Model\Base\Catalog, I seem to get into trouble to format the description. I tried to put Code:
So I tried to put Code:
but, this outputs unformatted html code as in the first attached image. If I put Code:
Even though this last approach works, I think there should be a better way to achieve the same result. That is:
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France Last edited by Ed B. : 08-10-2019 at 08:47 AM. Reason: I had forgotten to link images |
|||||||
#2
|
|||||||||
|
|||||||||
Re: HTML formatted text for custom entities
Are you using a View Class?
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|