核心内容类型不可用 [英] Core Content types not available
问题描述
进一步探索,当我点击结构>内容类型中的内容类型链接时,所有这些内容类型都存在并被列出,但由于某些原因我不能使用它们。
我不知道我在哪里呕吐,所以我想问你们,检查是什么。
谢谢,
问题: $ b我遇到了同样的问题...事实上,在当前的项目中,我失去了一整天的工作(我没有经常支持我的数据库,我的修复是恢复我的数据库)试图解决它。
一旦我发现Radix的答案,我意识到这绝对是我刚刚完成的(禁用导航菜单中的所有项目)。
过程/ Fix:
然后我再进一步,因为我估计将导航菜单中的这些链接一直是一个错误(他们有什么业务?)。
我去了Structure->菜单,点击列表链接errr链接。
接下来我点击添加内容子菜单项上的编辑链接。
在编辑窗口中,我选择了配置菜单的内容子菜单。
然后我验证了从管理菜单中单击添加内容AND从内容窗口把我带到了我期望的链接,而且这样做。
缺点:
我发现添加新的内容类型,您必须通过在导航菜单&将其父菜单设置为------添加内容
摘要:
将添加内容菜单移动到更逻辑的位置(所以我可以为自己的目的使用导航菜单,而不会失去添加内容的能力),但这需要创建自定义内容类型时需要额外的一步。
I have a weird issue troubling my Drupal site. Upon clicking 'Add Content', my Drupal website automatically redirects to a couple of custom content types that I created using the 'Add content type' feature. For some reason, all the existing core content types such as 'Basic page', 'Article', 'Book' have disappeared.
Further probing, when I click the 'Content types' link in 'Structure>Content types', all of these content types exist and are listed, however for some reason I am unable to use them.
I am not sure where I have goofed up here, so I want to ask you guys and check what's wrong.
Thanks,
Problem:
I have experienced this same problem... in fact on a current project I lost a complete day of work (I wasn't backing up my DB often enough & my fix was to restore my DB) in attempt to resolve it.
Once I found Radix's answer I realized that was definitely what I had just done (disable all of those items in the navigation menu).
Procedure/Fix:
I then took it one step further, since, in my estimation putting these links in the navigation menu must have been an error (what business do they have there??).
I went to Structure->Menus and clicked the "list links" errr link.
Next I clicked the "edit" link on the Add content sub-menu item.
In the Edit window I selected the ----Content sub-menu of the Configuration menu.
I then verified that clicking Add content from the management menu AND from the Content window brought me to the links I was expecting, and it did.
Drawback:
I found that when adding new content types you have to modify their automated menu link by finding them under the navigation menu & setting their parent menu as ------ Add content
Summary:
Moved the Add content menu to a more logical location (so I could use the navigation menu for my own purposes without losing the ability to add content), however this requires an extra step when creating custom content types.
这篇关于核心内容类型不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!