Shoppica Theme CP -Footer – Info Problem

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeShoppica Theme CP -Footer – Info Problem

This topic has been marked as resolved.

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.

May 11, 2012 at 8:48 pm #8829

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

May 12, 2012 at 3:40 am #8836

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.
May 12, 2012 at 5:12 am #8837

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

May 16, 2012 at 11:41 am #8913
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.