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文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219