Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3838 Vizualizări

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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>
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
aug. 20
2928
0
dec. 15
7289
0
ian. 23
1611
0
feb. 21
2624
1
mar. 25
1363