Skip to Content
Menu
This question has been flagged
1 Reply
5180 Views

<template id="frankie_website_template" name="Home page" inherit_id="website.homepage">
<xpath
expr="//*[@id='wrap']" position="replace">
        <!--HTML CODE-->
    </xpath>
</template>


HTML code does not working

Avatar
Discard
Best Answer

Your XPATH expression mean "all the ids named wrap". You need to put the full path to the id you want to replace.

AFAIK, in your case, this is enough :
<xpath expr="/div" position="replace">

But beware, that the template id to inherit could be website.homepage[number]

Avatar
Discard
Related Posts Replies Views Activity
1
Apr 24
1473
1
Dec 23
2743
2
Nov 22
2421
0
Nov 22
2739
0
Oct 22
1069