Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
Flag it:
mta_article_id
This plug-in implements a single tag (mta_article_id) which is intended as a replacement for the built-in article_id tag in and is used to return the numeric “ID” or, optionally, the “URL title” (as would be seen if “Clean URLs” are turned on) of the article being displayed.
Syntax
The mta_article_id tag has the following syntactic structure:
<txp:mta_article_id />
Attributes
The mta_article_id tag will accept the following attribute (note: attributes are case sensitive):
url_title=“integer”
When set to 1, returns the “URL title” of the article instead of the numerical “ID”. Available values: 1 or 0 (default).
Examples
<a name="<txp:mta_article_id url_title="1" />"><txp:title /></a>
<div id="<txp:mta_article_id url_title="1" />" class="article"> ... </div>
Keywords/tags:
Initially released:
2006-12-11Posted here:
13 Dec 2006Article modified:
20 Jan 2008









If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:
Commented (1)
This plugin is no longer needed as of v.4.0.5:
Textbook: article_id
Textbook: article_url_title
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site. Get a Gravatar.