• Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
KeyValues

Lets you store key-values in various Movable Type fields - its been compared to adding new fields into MT's entry screen.

partial data in the Keywords field:
author=Brad Choate
local=http://love-productions.com/mt/docs/plugins/keyvalues.php

code to generate:
<ul><MTKeyValues source="[MTEntryKeywords]">
<li>Author: <MTKeyValue key="author"><br />
<li>Description: <MTKeyValue key="description"><br />
<li>Link: <a href="<MTKeyValue key="link">">version <MTKeyValue key="version"></a><br />
<MTIfKeyExists key="mtforums">
<li><a href="<MTKeyValue key="mtforums">">
MTForums Thread</a><br />
</MTIfKeyExists>
<MTIfKeyExists key="local">
<li><a href="<MTKeyValue key="local">">
Local documentation</a><br />
</MTIfKeyExists>
</MTKeyValues>
<li><$MTEntryBody convert_breaks="0"$>
</ul>

Leave a comment

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.