Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  2. <type name="MagentoThemeModelViewDesign">
  3. <arguments>
  4. <argument name="themes" xsi:type="array">
  5. <item name="adminhtml" xsi:type="string">Adminlogo/Changelogo</item>
  6. </argument>
  7. </arguments>
  8. </type>
  9. </config>
  10.  
  11. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
  12. <module name="Adminlogo_Changelogo" setup_version="1.0.0">
  13. <sequence>
  14. <module name="Magento_Theme"/>
  15. </sequence>
  16. </module>
  17. </config>
  18.  
  19. <?php
  20. MagentoFrameworkComponentComponentRegistrar::register(
  21. MagentoFrameworkComponentComponentRegistrar::MODULE,
  22. 'Adminlogo_Changelogo',
  23. __DIR__
  24. );
  25. ?>
  26.  
  27. <?php
  28. MagentoFrameworkComponentComponentRegistrar::register(
  29. MagentoFrameworkComponentComponentRegistrar::THEME,
  30. 'adminhtml/mythme/logotheme',
  31. __DIR__
  32. );
  33.  
  34.  
  35. ?>
  36.  
  37. <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
  38. <title>astrokapoor astrology</title>
  39. <parent>Magento/backend</parent>
  40. </theme>
  41.  
  42. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-login" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  43. <update handle="styles" />
  44. <body>
  45. <referenceBlock name="logo">
  46. <arguments>
  47. <argument name="logo_image_src" xsi:type="string">images/my_logo.png</argument>
  48. </arguments>
  49. </referenceBlock>
  50. </body>
  51. </page>
  52.  
  53. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  54. <body>
  55. <referenceContainer name="header">
  56. <referenceBlock name="logo">
  57. <arguments>
  58. <argument name="logo_img_width" xsi:type="number">300</argument>
  59. <argument name="logo_img_height" xsi:type="number">300</argument>
  60. <argument name="show_part" xsi:type="string">logo</argument>
  61. <argument name="edition" translate="true" xsi:type="string">Community Edition</argument>
  62. <argument name="logo_image_src" xsi:type="string">images/astrokapoor_logo.png</argument>
  63. </arguments>
  64. </referenceBlock>
  65. </referenceContainer>
  66. </body>
  67. </page>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement