本文介绍了在Drupal中编辑页面时显示管理主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 drupal 网站的前端使用了自定义主题。我是通过修改garland主题创建它的,并且我将garland用作管理主题。

I am using a custom theme for the front end of my drupal website.I created it by modifying garland theme.And I am using garland as the admin theme.

当我尝试从管理员编辑页面时,它会显示带有我的自定义主题的编辑页面(http://example.com/node/2/edit?destination= admin%2Fcontent%2Fnode)。并且它破坏了布局。

When I try to edit a page from admin it shows the edit page with my custom theme (http://example.com/node/2/edit?destination=admin%2Fcontent%2Fnode). And It breaks up the layout.

我想显示所有管理任务的管理主题。在阻止页面(http://example.com/admin/build/block)上也会发生此问题。

I want to show the admin theme for all the admin tasks. This problem also occurs on the blocks page (http://example.com/admin/build/block).

是否有任何自定义模块或核心破解在编辑页面时显示管理主题。

Is there any custom module or core hack to show admin theme when editing pages.

推荐答案

如果要由非管理用户使用管理主题,则必须授予该用户权限:权限->系统->查看管理主题

If you want to use admin theme by non-admin users you must give permissions to that user: Permitions->System->View the administration theme

这篇关于在Drupal中编辑页面时显示管理主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 23:18
查看更多