Auto-Generated Template Tags
Each plugin configuration field can define a template tag by which a designer or developer can access its value. If a tag name terminates in a question mark then the system will interpret the tag as a block element. Here are two example configs:
feedburner_id: type: text label: "Feedburner ID" hint: "This is the name of your Feedburner feed." tag: 'FeedburnerID' use_feedburner: type: checkbox label: "Use Feedburner?" tag: 'IfFeedburner?'
And here are corresponding template tags that make use of these configuration options:
<mt:IfFeedburner> My feedburner id is <mt:FeedburnerID>. <mt:Else> Feedburner is disabled! </mt:IfFeedburner>
This page is part of the Building Movable Type Applications
- Previous Config Assistant Registry Settings