Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-02-16 18:22:29

paulofreire
New Member
Registered: 2004-04-19
Posts: 6

Plugin Request: KeyValues plugin?

Esteemed plug-in writers—

I’m a Movable Type convert, and one of the things I miss from MT is Brad Choate’s MTKeyValues plug-in. It lets you add simple keyword: value pairs to an entry, and then deal with them apprpriately in your templates.

http://mt-plugins.org/archives/entry/keyvalues.php

For example, if I create an article for each Staff member of a company, I can use key values to stash phone numbers, years of experience, and other miscellaneous data I might want to pull out and use differently from article text. The unstructured flexibility of this approach can be a great asset.

The Txp custom fields can kind of work for this, but I prefer the keyvalues approach—I think it’s much more flexible and extensible. Anyone up for writing a template to make this happen?

If I knew more about php than I picked up on the streets, I’d do it myself, but alas…

Offline

#2 2005-02-16 19:56:03

misterk
Member
From: Morris, MN
Registered: 2004-02-24
Posts: 77
Website

Re: Plugin Request: KeyValues plugin?

You can use custom fields for the same thing. Look into those, there are posts aplenty here about them.

Offline

Board footer

Powered by FluxBB