简体   繁体   English

Drupal 6-前端主题中的节点/编辑

[英]Drupal 6 - node/edit in frontend theme

I have a template for a node/edit form for one of the content types. 我有一种用于内容类型之一的节点/编辑表单的模板。

This content type will be created/edited by guest users. 此内容类型将由来宾用户创建/编辑。 So I need to get this form displayed in the frontend theme. 因此,我需要将此表格显示在前端主题中。

How can I set in which theme a form will be displayed? 如何设置以哪种主题显示表单?

You simply add that template file to whichever folder the theme uses for templates. 您只需将该模板文件添加到主题用于模板的文件夹中即可。 If you're not using your own custom theme, such as one from core or a contributed one, I recommend creating a subtheme first: https://drupal.org/node/225125 如果您没有使用自己的自定义主题,例如核心主题或贡献主题,则建议您首先创建一个子主题: https : //drupal.org/node/225125

Could it be that you're looking for the setting that lets you skip using the administration theme for content editing? 可能是您在寻找一种设置,该设置使您可以跳过使用管理主题进行内容编辑吗? Just uncheck the box on page admin/settings/admin and you're set. 只需取消选中admin/settings/admin页上的框即可。

取消选中该框

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM