Not a developer? Go to MovableType.com

Documentation

AdminCGIPath

Returns the value of the AdminCGIPath configuration setting. Otherwise, the value of the CGIPath setting is returned.

If the value of AdminCGIPath or CGIPath is:

http://www.example.com/cgi-bin/mt/

Or:

/cgi-bin/mt/

Default use of:

<$mt:AdminCGIPath$>

Will output:

http://www.example.com/cgi-bin/mt/

In the event that the configured path has no domain (ie, “/cgi-bin/”), the domain of the blog in context will be used.

The path produced by this tag will always have an ending ‘/’, even if one does not exist as configured.

Values

Output will be a full url to the directory where the Movable Type CGI scripts exist.

Example

Publish “edit” links in index templates:

<a href="<$mt:AdminCGIPath$><$mt:AdminScript$>?__mode=view&_type=template&id=<$mt:BuildTemplateID$>&blog_id=<$mt:BlogID$>">Edit</a>
Back

Leave a Comment