没有代码的管理主题?

发布于 2024-12-15 03:48:36 字数 86 浏览 2 评论 0原文

我的问题是,Magento 管理页面可以在不触及核心代码的情况下进行主题化(更改 Magento 徽标、总体布局、菜单颜色)吗? (也许通过修改管理CSS?)

My question is, can the Magento admin pages be themed (changing of Magento logo, general layout, menu colours) without touching the core code? (perhaps by modifying the admin css?)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

第七度阳光i 2024-12-22 03:48:36

Magento 并不真正允许您拥有多个管理主题。我认为您能做的最好的事情就是修改 app/design/adminhtml 和 Skin/adminhtml 中的文件以进行任何所需的更改。如果您正在尝试进行彻底检修,这可能是一项艰巨的任务。如果您只是寻求一些简单的更改,那可能还不错。

但请注意,到处都有 HTML 填充到某些块中。

Magento doesn't really let you have multiple admin themes. I think the best you'll be able to do is modify the files in app/design/adminhtml and skin/adminhtml to make any desired changes. If you're trying for a complete overhaul, this could be quite a task. If you're just looking for some simple changes, it might not be too bad.

Be aware, however, that there is HTML stuffed into some of the Blocks here and there.

浅紫色的梦幻 2024-12-22 03:48:36

管理主题使用与前端完全相同的渲染系统。您甚至可以声明一个新的包和主题,但这必须在配置文件中完成,因为没有管理设置。但请注意,如果您的网站具有核心发布的 Find Feed 扩展(查看 app/code/community/ - 版本 < 1.6CE 和 < 1.11EE),则该扩展会向系统添加自定义主题。有关示例语法,请参阅 app/code/community/Find/Feed/etc/config.xml 中的 节点。另一个注意事项 - 没有用于设计后备的基础/默认包/主题。

顺便说一句,将管理主题设置添加到系统配置的设计部分中的组中是很简单的 - 您只是想确保不会搞砸。

The admin theme uses the exact same rendering system as the frontend. You can even declare a new package and theme, but this has to be done in config files as there is no admin setting for it. Be aware though that if your site has the core-released Find Feed extension (look in app/code/community/ - Versions < 1.6CE and < 1.11EE), the extension adds a custom theme to the system. See the <stores><admin> node in app/code/community/Find/Feed/etc/config.xml for example syntax. Another note - there is no base/default package/theme for design fallback.

Incidentally, it would be trivial to add admin theme settings to a group in the Design section in system configuration - you just would want to make sure you don't mess up.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文