How to override message template in a new theme ?

How to override message template in a new theme ?

by Javier Cuadrado -
Number of replies: 3

Hi,

I would need to override message/templates/message_popup.mustache template 


I've build this in my own theme (child of boost theme)

theme/padplus/templates/core/message_popup.mustache

and

theme/padplus/templates/core/message_popup.mustache

but it doesn't work.


Do you know what is the good structure to override this template?


Thanks in advance !


Average of ratings: -
In reply to Javier Cuadrado

Re: How to override message template in a new theme ?

by Javier Cuadrado -
Hi there !

I'm still stuck here, any advice is welcome !! smile
In reply to Javier Cuadrado

Re: How to override message template in a new theme ?

by lior gil -
Picture of Core developers

The message component is a subsystem as as such it has a 'core_' prefix. Change

theme/padplus/templates/core/message_popup.mustache

Into

theme/padplus/templates/core_message/message_popup.mustache

And this should map the component's mapping.