0

How to override admin footer.phtml file?

path: vendor/magento/module-backend/view/adminhtml/templates/page/footer.phtml

  • did you created your custom backend theme ? – Pankaj Pareek Aug 31 '17 at 11:42
  • No, i didn't created – Sudheer Singamsetti Aug 31 '17 at 12:06
  • you need to create custom backend theme as link shared by @bhavin – Pankaj Pareek Aug 31 '17 at 12:17
  • i have created admin theme, how to override footer.phtml file – Sudheer Singamsetti Aug 31 '17 at 12:29
1

To override file of admin theme, You can create your own admin theme by making parent theme as a magento default admin theme (Magento/backend).

Follow below tutorial for create your own admin theme.

http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/themes/admin_theme_create.html

1

As you have created Magento Backend Theme.

Copy the below File from Magento Vendor Directory:

vendor/magento/module-backend/view/adminhtml/templates/page/footer.phtml

Create equivalent directory structure in your custom backend theme and paste the footer template file:

app/design/adminhtml/VENDOR_DIR/THEME_NAME/Magento_Backend/templates/page/footer.phtml  
  • copied to app/design/adminhtml/Admin/backend/Magento_Backend/templates/page/footer.phtml but not working – Sudheer Singamsetti Aug 31 '17 at 12:49
  • I checked its working for me. Can you please double check backend theme is wokring – Pankaj Pareek Aug 31 '17 at 12:53
0

Yes as mentioned you need to make a child theme of your current theme. Basically it uses all the files of your current admin theme (extends) until you add in an override file into your child theme (footer.phtml).

If you search around there are some zip files containing a full child theme ready for you to customize.

See the following answers:

How to create a Child Theme in Magento 2

https://community.magento.com/t5/Theming-Layout-Design-Questions/How-to-create-a-Child-Theme-in-Magento-2/td-p/33253

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for?Browse other questions tagged or ask your own question.