| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
html in language files | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() hi, if i try to put <br> or <br /> into a language file, it is just printing <br> onto the page, instead of putting in a line break which i want it to - i am using xcart5 ?
__________________
fusiongraphicdesign |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Please could you clarify what language file you mean?
Also, please check this forum thread: https://forum.x-cart.com/showthread.php?t=73694
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
![]() i've worked it out, i changed the template from:
{t(#Store Location#)} to {t(#Store Location#):h} then re-deloyed the store and now the html is rendered as html and not just printed literally to the screen.
__________________
fusiongraphicdesign |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Just remember that you should wrap the changes into a custom module.
If you edit core files or files of other modules, you will loose the modifications on the next upgrade.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|