<$mt:ArchiveLink$>

Publishes a link to the archive template for the current archive context. You may specify an alternate archive type with the "type" attribute to publish a different archive link.

Attributes:

  • type (optional)
  • archive_type (optional)

    Identifies the specific archive type to generate a link for. If unspecified, uses the current archive type in context, when publishing an archive template.

  • with_index (optional; default "0")

    If specified, forces any index filename to be included in the link to the archive page.

Example:

When publishing an entry archive template, you can use the following tag to get a link to the appropriate Monthly archive template relevant to that entry (in other words, if the entry was published in March 2008, the archive link tag would output a permalink for the March 2008 archives).

    <$MTArchiveLink type="Monthly"$>
This page was last updated on 2008-06-12, 14:25.  

Hi, I am trying to change the link in the note's metadata template on the author's name. I would like it to be the author's archive page instead of the author's URL (default). So my point is: is there any way to access that URL else than the block tag ? I guess there could be a tag modifier to apply on but I couldn't find it ?! (documentation unfinished.. :-( ) Any help would be much appreciated! Thanks

Oops! Inserting MT tags doesn't work let me say this again :

Hi, I am trying to change the link in the note's metadata template on the author's name. I would like it to be the author's archive page instead of the author's URL (default). So my point is: is there any way to access that URL else than the (MTArchiveList) block tag ? I guess there could be a tag modifier to apply on (MTAuthorDisplayName) but I couldn't find it ?! (documentation unfinished.. :-( ) Any help would be much appreciated! Thanks

Next time, I'll use the "preview" button :-P

Forgive the lack of formatting -- I'm running into the same issue as Sims attempting to post code. If you de-mangle the snippet below, you can accomplish what you're after:
 
(a href="($MTEntryLink archive_type="Author"$)")($MTEntryAuthorDisplayName$)(/a)
 
It seems a bit strange that there's not a more direct tag to access this path -- perhaps in a future version of MT...

Leave a note

Have a question, please use the MT Forums. Notes sumbitted here should pertain to tips & hints regarding documentation. Your note may be removed once it's contents has be integrated into the body of the page.