本文列出drupal 的theme info文件常用到的参数。经常写主题,每次都要到官网翻一下,麻烦。记录下,方便以后查阅,也方便大家。
name = A fantasy name description = Tableless multi-column theme designed for blogs. screenshot = screenshot.png version = 1.0 core = 6.x engine = phptemplate base theme = garland regions[left] = Left sidebar regions[right] = Right sidebar regions[content] = Content regions[header] = Header regions[footer] = Footer features[] = logo features[] = name features[] = slogan features[] = mission features[] = node_user_picture features[] = comment_user_picture features[] = search features[] = favicon stylesheets[all][] = theStyle.css scripts[] = myscript.js