cancel
Showing results for 
Search instead for 
Did you mean: 

layout files referenceContainer

layout files referenceContainer

I created default.xml for my module. 

When i made some modification in this file using "before.body.start" this works fine. 

But if i try made any modification to "header" or "top" i can't i tried different names like: "header.panel",

"header",

"hader.cointainer",

"top" 

....  with no effect. 

for example: 


<referenceContainer name="header.container" before="-">
<block class="My\GeoRedirect\Block\RedirectionBlock" name="redirectionblock" template="My_GeoRedirect::block.phtml" />
</referenceContainer>

Is this correct instruction to prepend my block to header? 

 

I make my module load after my theme : 

   <sequence>
           <module name="Smartwave_Porto"/>
    </sequence>

I am working on shop which have many modules installed, maybe other module modified this "hader.cointerner" . Can other module modify header.cointerner in a way that my block is removed?

How can i list all modules that "do something" with this "header.container" ?