sorry, I am a bloody beginner, so this question might be obvious to someone else. However, I cannot figure them out. I have a blank Magento (2.2.6) installation and I want to customize it (couple plugins and my own theme).
By default, there is the Luma theme. It shows some content defined in the content > blocks (i.e. Footer Links Block, Home Page Block, etc...). If I switch the theme to blank they don't show up anymore. Why? Where is this defined, I cannot find anything in the luma themes code that references those blocks.
So next I want to create my own theme, extending Luma. I do so just by defining my Theme according to the docs (registration.php
, composer.json
and theme.xml
with <parent>Magento/luma</parent>
. It is then displayed in the list of themes as it should, also showing Luma as its parent theme. However switching to my theme just looks like the blank theme, not the Luma theme. Why that?
Next attempt was to copy all the code from the Luma theme into my theme. And voila it almost looks like Luma. The only thing is still that content blocks are not displayed as they are in Luma. Again, where is the definition for that?
BTW:
I have developer-mode
enabled, and i think all possibly helpful scripts habe been run in each individual step including setup:upgrade
, setup:di:compile
, setup:static-content:deploy -f
, cache:clean
and cache:flush
- Magento 2.2.6
- PHP 7.1.21