04.07.2019 Views

frontend-developer-1

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Magento Design Configuration System<br />

The configuration values are displayed in a grid format showing the website > store<br />

> store view hierarchy with an option to adjust configuration at each point.<br />

These values are retrieved like any other store configuration value (see here,<br />

getDefault).<br />

For backend <strong>developer</strong>s, see here and here.<br />

What happens if a theme is added or removed?<br />

Even though registration.php is a required file in a theme directory, themes<br />

are not managed in the same way modules are. When you run php bin/magento<br />

module:enable --all, you will see that the new theme is not listed in the list.<br />

The theme is automatically added to the theme table in the database. Themes<br />

are available in the admin panel’s Content > Design > Configuration and can be<br />

selected in the site’s Applied Theme dropdown list.<br />

If a theme is removed, the default theme will automatically be used, but the theme’s<br />

database record is not automatically removed.<br />

HELPFUL LINKS:<br />

• https://devdocs.magento.com/guides/v2.2/<strong>frontend</strong>-dev-guide/<br />

themes/theme-install.html<br />

What common mistakes can be made in regard to these settings?<br />

Here are a few mistakes that would be easy to make:<br />

Copyright © 2018, SwiftOtter, Inc.<br />

17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!