a wee weblog, since 2006

Get Sibling Ids Tag

Fetches the entry_ids of a node's siblings.

{exp:taxonomy:get_sibling_ids tree_id="1" entry_id="{entry_id}"}

Example output:

2|4|14

Get Sibling Ids Tag Parameters

tree_id=

tree_id="1"

The id of the tree you want to fetch. This is a required parameter.

entry_id=

entry_id="{entry_id}"

The entry_id of the node being requested. This is a required parameter.

include_current=

include_current="yes"

By default, the current entry_id won't be displayed, by adding this parameter it will add the current entry_id to list the entry ids for all siblings on this level

Example Usage

See the example usage for the {exp:taxonomy:get_children_ids} for an example of you can use this tag to pass entry_ids to an embed for exp:channel:entries processing.

As captured 26 April 2010 · The archived original