tomlankhorst / comments

utterances 🔮
0 stars 0 forks source link

creating-module-to-overwrite-magento-core/ #5

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Overwrite Magento Core using a Module | Tom Lankhorst

The layout of Magento’s information, warning and error messages cannot be easily changed using layout and template files. The HTML generation is done from a Block PHP class (Mage_Core_Block_Messages). It is a very bad idea to overwrite any core element of Magento. Instead we are going to extend this core-block by creating a separate module. Messages are now Bootstrap compatible My goal was to make the messages compliant with Twitter Bootstrap alerts but the following technique can be used for about anything.

https://tomlankhorst.nl/creating-module-to-overwrite-magento-core/

tomlankhorst commented 3 years ago

Original author: Ibrahim Saleh @IbrahimSaleh19
Original date: 2019-07-21T00:14:32Z

Thank you from 2019! I am currently doing this using BS4.1