4W WebMerge Tag Reference


[WM-LinkIndexLast] Link Label[/WM-LinkIndexLast]

[WM-LinkIndexLast]Go to Last Category[/WM-LinkIndexLast]

This tag is only used in index templates.

The HTML between [WM-LinkIndexLast] and [/WM-LinkIndexLast] is replaced with a link to the last index page generated.

If the current index page being generated is the last one, the text between the opening and closing tags is not written to the generated page.

The WM-LinkIndexLast tag provides a way to navigate among multiple index pages. For example, if you were publishing an employee directory you could have WebMerge create a new index whenever the first letter in the Last_Name field changes, and this tag would let you move to the list of names starting with "Z".

All navigation tags allow you to include attributes in the tag which will be included in the generated link. For example, to specify a target in a navigation tag you'd write:

   [WM-LinkIndexLast: target="_blank"]Last Page[/WM-LinkIndexLast]

...which would generate:

   <a href="index004.html" target="_blank">Last Page</a>

Introduced in version 2.0.
Version 2.2 introduced support for link attributes.