Relationship Var

Introduction

This small extension add some usefull if statement tags to your Channel Entries loop.

Documentation versions

Installation

Prerequisites

Make sure your system meets the minimum requirements:

Installation Instructions

Update instructions

Field Tag (has_siblings)

The Tag

{rel_var:has_siblings}...{/rel_var:has_siblings}

use inside {exp:channel:entries} tag

Tag Parameters

Below are the Tag Parameters. Those parameters can be used in the tag described above

field

The releationship field

field="relationship_field"

status

select based on status

status="open"

Field Tag (no_siblings)

The Tag

{rel_var:no_siblings}...{/rel_var:no_siblings}

use inside {exp:channel:entries} tag

Tag Parameters

Below are the Tag Parameters. Those parameters can be used in the tag described above

field

The releationship field

field="relationship_field"

status

select based on status

status="open"

Field Tag (total_siblings)

The Tag

{rel_var:total_siblings}

use inside {exp:channel:entries} tag

Tag Parameters

Below are the Tag Parameters. Those parameters can be used in the tag described above

field

The releationship field

field="relationship_field"

status

select based on status

status="open"

Changelog

1.0