跳转到主要内容

用于创建派生主题的paster模板。

项目描述

简介

SnakeSkin允许以类似于ZopeSkel plone3_theme模板的方式轻松创建Plone 3的主题皮肤。主要区别在于,plone3_theme假设是一个空白主题或默认主题的定制,而snakeskin允许用户选择要定制的主题。

这对于需要根据客户进行小修改的通用皮肤的商业环境非常有用。

以下是一个使用内部teamrubber皮肤的示例:

Nimbus:teamrubber.snakeskin matthewwilkes$ paster create -t plone3_snakeskin
Selected and implied templates:
  ZopeSkel#basic_namespace               A project with a namespace package
  teamrubber.snakeskin#plone3_snakeskin  A Theme for Plone 3.1 based on another theme egg.

Enter project name: clienttheme.example
Variables:
  egg:      clienttheme.example
  package:  clientthemeexample
  project:  clienttheme.example
Enter namespace_package (Namespace package (like clienttheme)) ['clienttheme']: clienttheme
Enter package (The package contained namespace package (like example)) ['example']: example
Enter version (Version) ['1.0']: 1.0
Enter theme_name (The name of this theme) ['Client Skin']: Client Skin
Enter base_theme (The package containing the theme to base on (the name of the egg)) ['plonetheme.example']: plonetheme.example
Enter basename (The name of the Zope skin layer the above theme provides) ['My Theme']: My Theme
Enter description (One-line description of the package) ['A theme based on an existing arbitrary plone 3 theme.']: This is my client customisation of the defaults for plone3_theme.
Enter long_description (Multi-line description (in reST)) ['']: I'm not feeling talkative.
Enter author (Author name) ['']: Matthew Wilkes
Enter author_email (Author email) ['']: matt.wilkes@teamrubber.com
Enter keywords (Space-separated keywords/tags) ['']:
Enter url (URL of homepage) ['']:
Enter license_name (License name) ['GPL']:
Enter zip_safe (True/False: if the package can be distributed as a .zip file) [False]:

变更日志

1.1

修复skins.xml模板优先级。

[MatthewWilkes]

简化选项

[MatthewWilkes]

1.0

初始概念,包括OOTB plone主题的一些想法,但并非全部

[MatthewWilkes]

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装软件包的信息。

源代码发行版

teamrubber.snakeskin-1.1.tar.gz (8.6 kB 查看哈希值)

源代码

支持