我不断收到消息,“此版本与Drupal 7.x不兼容,应该替换。” 错误。您能否查看我的.info文件的内容,并告诉我它有什么问题:
name = jeanb
description = sub-theme based on Bartik.
base theme = bartik
engine = phptemplate
stylesheets[all][] = css/jeanb.css
regions[header] = Header
regions[help] = Help
regions[page_top] = Page top
regions[page_bottom] = Page bottom
regions[highlighted] = Highlighted
regions[featured] = Featured
regions[content] = Content
regions[sidebar_first] = Sidebar first
regions[sidebar_second] = Sidebar second
regions[triptych_first] = Triptych first
regions[triptych_middle] = Triptych middle
regions[triptych_last] = Triptych last
regions[footer_firstcolumn] = Footer first column
regions[footer_secondcolumn] = Footer second column
regions[footer_thirdcolumn] = Footer third column
regions[footer_fourthcolumn] = Footer fourth column
regions[footer] = Footer
settings[shortcut_module_link] = 0
; Information added by drupal.org packaging script on 2013-04-03
version = "7.22"
project = "drupal"
datestamp = "1365027012"
谢谢!
由于缺乏研究,我即将投反对票,但令我惊讶的是,谷歌搜索错误实际上并没有给出有用的答案。+1。
—
Letharion
是的,是的。而且,我对此并不陌生,只有在用尽所有其他资源(如您提到的google-ing和类似内容)之后才发布问题...所以,谢谢!
—
Davit Magaldadze 2013年
我只是感到惊讶,我以为这样一个基本问题已经有了答案,但是实际上我确实发现的答案是完全错误的。
—
Letharion
是的,同意。在一个Drupal论坛中,一个人遇到了同样的问题,他们设法通过添加以下内容解决了该问题:region [content] = Content part。但这显然不是我的问题。尽管Clive在下面给出了正确的答案,但我仍然感到困惑,因为这本书(关于Drupal主题)明确地说“删除了软件包,版本和核心的行”。从.info文件。
—
Davit Magaldadze 2013年
大卫,您在哪看到的文字?肯定是错误的,应该修复。(正如您所注意到的,克莱夫的答案是正确的)
—
Letharion 2013年