Link id

On this page:

Syntax

<txp:link_id />

The link_id tag is a single tag which returns the numerical ID of the link. This tag is used in a ‘links’ type form or inside the linklist container tag to show information about the current link in the list.

Attributes

This tag has no attributes.

Examples

<txp:linklist category="dogs">
    Link:
    <a href="<txp:link_url />">
        <txp:link_name />
    </a>
    (id: <txp:link_id /> | category: <txp:link_category />)
</txp:linklist>

Other tags used: linklist, link_name, link_category.

Genealogy

Version 4.2.0

Tag support added.

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.