P
P
panterr922017-09-25 16:15:46
HTML
panterr92, 2017-09-25 16:15:46

When editing an HTML module, OpenCart 2.3 adds a tag. How to remove them?

Actually, we take the standard HTML module out of the box. We insert any random code and send it to the position (let's say content_top). We open the inspector in the browser, the module is inserted successfully, but in additional tags without classes and styles.
Turned off the editor, saves the same with these tags.
I found the contents of the module in the database, it is stored without these strange
ones. Where can I find the output of these strange ones and delete them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zoozag, 2017-09-25
@panterr92

catalog/view/theme/default/template/extension/module/html.tpl

<div>
  <?php if($heading_title) { ?>
    <h2><?php echo $heading_title; ?></h2>
  <?php } ?>
  <?php echo $html; ?>
</div>

Remove the div here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question