Help - Search - Members - Calendar
Full Version: Custom tags under MTEntryComments
Movable Type Community Forum > Additional Resources > Tips and Tricks
westernbuddhism@yahoo.com
Under the comments for each individual entry, I'd like the format to read:

CODE
Robert Somebody from California writes:

Blah blah blah


Basically, in the comments form, I'd need a place for them to put their STATE. As far as I know, you can't do custom tags in MT, so this might be impossible as for now.

Anyone have any ideas on this, or any workarounds?

Thanks!

-jason o'brien
almuhajabah
If you don't mind giving up one of your existing fields such as email or URL, you could change the submission form to indicate that they should enter their location there. Then you could use either the <$MTCommentEmail$> or <$MTCommentURL$> tags to display the location.

In your example:

CODE
<p><$MTCommentAuthor$> from <$MTCommentURL$> writes:</p>
<p><$MTCommentBody$></p>


if you are using the URL field to store the location information.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.