Dear TB Support,
as title, Shoppica Theme CP Module, Footer for info text field, is that support HTML ?
coz I try to type something in HTML, but is not supported.
I need to separate my text by paragraph.
Photo attached.
|
|
Hello TB Support,
Same question in here… but I’d like to add a link in there.
HTML code is printed as actual text:
<br>
<a href="http://www...">...</a>
Which line in which file do I have to modify for this to work?
Thanks
|
|
Nevermind, made it work with the amazing “html_entity_decode()” php function.
in catalog/view/theme/shoppica/template/common/footer.tpl
around line 13 find:
<p><?php echo $shoppica_footer['info_text']; ?></p>
and add the function as follows:
<p><?php echo html_entity_decode($shoppica_footer['info_text']); ?></p>
it will detect any html in the textarea so use </ br> for the line breaks.
works like a charm!
-
This reply was modified 4377 days ago by mrbrett.
-
This reply was modified 4377 days ago by mrbrett.
|
|
Hi,
Glad you’ve found a solution
Generally, there is a similar topic already:
http://support.themeburn.com/topic/create-layout-in-footer
Best,
ThemeBurn team
|
|