a wee weblog, since 2006

taxonomy:
next_node

17May
2012

Get information about the next sibling node (and it's associated entry) for a given node.

{exp:taxonomy:next_node}
    <a href="{next_node_url}"> Next: {next_label}</a>
{/exp:taxonomy:next_node}

Tag Parameters

tree_id=

tree_id="1"

The id of the node's tree you want to fetch.

entry_id=

entry_id="{entry_id}"

The entry_id of the node being requested.

node_id=

node_id="32"

The node_id of the node being requested.


Tag Variables

These varables are available between the tag pair

VariableExample Output / Notes
{next_node_id}22 The Node ID for the next node
{next_lft}12 The lft value for the next node
{next_rgt}12 The rgt value for the next node
{next_label}About The node's label according to Taxonomy
{next_label}About The node's label according to Taxonomy
{next_entry_id}543 The entry id associated with the next node
{next_template_name}index The template name associated with the next node
{next_group_name}pages The template group name associated with the next node
{next_is_site_default}y Is the template group associated with this node the default template group
{next_custom_url}http://google.com The custom_url associated with the next node if it exists
{next_status}open The status of the entry associated with the next node
{next_highlight}009933 The hex of the status of the entry associated with the next node
{next_channel_id}3 The channel id of the entry associated with the next node
{next_title}My Channel Entry Title The title of the entry associated with the next node
{next_url_title}my-channel-entry-title The url_title of the entry associated with the next node
{next_entry_date}1328158920 The entry_date of the entry associated with the next node
{next_expiration_date}1328158920 The expiration_date of the entry associated with the next node
{next_expiration_date}1328158920 The expiration_date of the entry associated with the next node
{next_level}1 The level of the next node
{next_has_children}yes Does the next node have children
{next_node_url}http://ee24/index.php/pages/subpage-1a The full url to the next node

Example Usage

As captured 9 May 2021 · The archived original