Multidoc Page 22 of 27

soo_if_multidoc

Usage

Conditional tag.

<txp:soo_if_multidoc>
    ...show if true...
<txp:else />
    ...show if false...
</txp:soo_if_multidoc>

Attributes

soo_if_multidoc evaluates whether or not the current page belongs to a Multidoc collection. If start_id is set, it evaluates whether or not the current page belongs to one of the specified collections.

Typically you would use this in an article form, or in a form called by an article form.

Examples

In an article form:

<txp:soo_if_multidoc>
<txp:output_form form="soo_multidoc" />
</txp:soo_if_multidoc>
    <!-- the soo_multidoc form -->
<txp:soo_if_multidoc start_id="21">
<txp:soo_multidoc_pager />
<txp:else />
<txp:soo_multidoc_toc />
</txp:soo_if_multidoc>