BUG Menu Builder > Custom HTML Dropdown

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesBurnEngineBUG Menu Builder > Custom HTML Dropdown

This topic has been marked as not resolved.

@TB Support

I’ve noticed this bug before and keep forgetting to bring it to your attention.

When using the Custom HTML Dropdown feature on the Menu Builder, if you edit source code and insert something like:

<p>The Pavilion theme is built by ThemeBurn's team of developers</p>

You can save the HTML menu and it appears as intended on the front end but the source is saved in HTML encoded format, displaying the HTML entity by number instead of the punctuation. From what I can tell, other punctuation doesn’t seem to be affected, just the apostrophe.

<p>The Pavilion theme is built by ThemeBurn&#039;s team of developers</p>

I think there must be something missing in the HTML encoding script for CKEditor in the menu builder. Anyhow, I haven’t noticed it occurring elsewhere, but you may check other CKEditor locations throughout your theme builder to make sure that this isn’t the case. It can be pretty annoying when trying to build out something.

Thank you!

  • This reply was modified 2398 days ago by  TXVaporGuy.
  • This reply was modified 2398 days ago by  TXVaporGuy.
September 26, 2017 at 8:36 pm #61814

Hi,

Thanks for reporting this problem! Here is the solution:

1) Open catalog/view/theme/BurnEngine/template/tb/menu/html.tpl

2) Find this code line:

<?php echo $menu_item['data']['settings']['html_text']; ?>

3) Replace it with:

<?php echo html_entity_decode($menu_item['data']['settings']['html_text'],ENT_QUOTES, 'UTF-8'); ?>

BR,
ThemeBurn team

October 16, 2017 at 1:45 am #62055
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.