root/branches/release-41/plugins/StyleCatcher/config.yaml @ 2743

Revision 2743, 1.3 kB (checked in by breese, 17 months ago)

Added support for an additional registry parameter. This template_sets->base_css registry item points to a base CSS file that should imported via a CSS @import command any time a style for this template set is applied. This change is being made to support those styles that may *not* require a base.css file to be imported. The base_css registry item should be a path relative to the mt-static directory.

I also converted style catcher from using the legacy .pl plugin format to the more standard config.yaml format.

Line 
1name: StyleCatcher
2id: StyleCatcher
3key: StyleCatcher
4author_link: http://www.sixapart.com/
5author_name: Six Apart, Ltd.
6description: StyleCatcher lets you easily browse through styles and then apply them to your blog in just a few clicks. To find out more about Movable Type styles, or for new sources for styles, visit the <a href='http://www.sixapart.com/movabletype/styles'>Movable Type styles</a> page.
7version: 2.1
8doc_link: http://www.sixapart.com/movabletype/styles/
9l10n_class: StyleCatcher::L10N
10
11stylecatcher_libraries:
12    sixapart_mt4:
13        url: http://www.sixapart.com/movabletype/styles/mt4/library
14        label: MT 4 Style Library
15        description_label: A collection of styles compatible with Movable Type 4 default templates.
16        order: 1
17
18template_sets:
19    mt_blog:
20        base_css: themes-base/blog.css
21    universal_website:
22        base_css: themes-base/blog.css
23
24applications:
25    cms:
26        methods:
27            stylecatcher_theme: $StyleCatcher::StyleCatcher::CMS::view
28            stylecatcher_js: $StyleCatcher::StyleCatcher::CMS::js
29            stylecatcher_apply: $StyleCatcher::StyleCatcher::CMS::apply
30        menus:
31            design:theme:
32                label: Styles
33                order: 300
34                mode: stylecatcher_theme
35                view: blog
36                permission: edit_templates
Note: See TracBrowser for help on using the browser.