手机版

Drupal6 pro Drupal development(专业开发指南)TheThemeSys(10)

发布时间:2021-06-06   来源:未知    
字号:

Drupal6 pro Drupal development(专业开发指南)TheThemeSystem主题系统

features[] = node_user_picture

features[] = comment_user_picture

features[] = search

features[] = favicon

features[] = primary_links

features[] = secondary_links

; Stylesheets can be declared here or, for more

; control, be added by drupal_add_css() in template.php.

; Add a stylesheet for media="all":

stylesheets[all][] = mystylesheet.css

; Add a stylesheet for media="print":

stylesheets[print][] = printable.css

; Add a stylesheet for media="handheld":

stylesheets[handheld][] = smallscreen.css

; Add a stylesheet for media="screen, projection, tv":

stylesheets[screen, projection, tv][] = screen.css

; Override an existing Drupal stylesheet with our own

; (in this case the forum module's stylesheet):

stylesheets[all][] = forum.css

; JavaScript files can be declared here or, for more

; control, be added by drupal_add_js() in template.php.

; scripts.js is added automatically (just like style.css

; is added automatically to stylesheets[]).

scripts[] = custom.js

; PHP version is rarely used; you might need it if your

; templates have code that uses very new PHP features.

php = 5.2.0

; Themes may be based on other themes; for example, they

; may simply override some of the parent theme's CSS.

; See the Minnelli theme at themes/garland/minnelli for

; an example of a theme that does this in Drupal core.

base theme = garland

由于Greyscale主题现在有了一个.info文件(列表8-6所给的简单的那个)和一个page.tpl.php文件,所以你就可以在管理界面中启用它了。导航到“管理 站点构建 主题”,将它设置为默认主题。

为你的主题创建一个.info文件(1)

Drupal6 pro Drupal development(专业开发指南)TheThemeSys(10).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
×
二维码
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)