|
The Metadata Plugin Metadata Management for Manila |
Site last updated 2/24/2006; 12:33:21 PM |
|
Macro ExpansionSuppose that for some reason you want a metadata element named Title. You define it on the Managing Meta Types screen and the Metadata Plugin helpfully gives you a field called Title. The problem is, Manila already gives you a field called Subject. Now you have to type all your titles twice:
Macro expansion means you can just type {title} in a metadata field and the title of the page will be substituted when you update that page.
Now we've got to type {title} in each time. That's a pain. To make it really easy, set your default value to one of these macros (if you don't know how to set a default value for a metadata field, see Managing Meta Types). In addition to {title} the special macro {member} expands to the name of the member who created the story. Any legal Manila macro may be used. Technical note: a new script, metaDataSuite.utils.qry_peekBuiltinMetaValue(), is used for getting built-in metadata values (such as postTime, subject, member, ctReads, etc.) from the message table.
|
||||
| This page last updated Tuesday, October 31, 2000 at 3:19:53 PM. | (10694) |