Skip to Content
मेन्यू
This question has been flagged
1 Reply
3787 Views

In my template i call 

<template id = "get_data" name = "car model">
    <t t-call="website.layout">
      <div class = "container">
        <div>haha</div>
      </div>
    </t>
  </template>

but i want remove
<header id="top>
and <footer id="bottom">

Anyone can help me do this

Avatar
Discard
Author Best Answer

i add this in XML file but i dont think it is best solution

<xpath expr="." position="inside">
      <script type="text/javascript">
                document.getElementById("top").remove();
                document.getElementById("bottom").remove();
      </script>
    </xpath>
Avatar
Discard
Related Posts Replies Views Activity
0
अग॰ 20
2865
0
दिस॰ 15
7236
0
जन॰ 23
1561
0
फ़र॰ 21
2545
1
मार्च 25
1245