Version: 4.3.2 Reporter: Derek Jones —
Given a single relationship field:
{relationship_field:field_name}
Works fine as documented. However as a conditional:
{if relationship_field:field_name == 'foo'}
It doesn’t appear to be aware of its values, and is always false. The conditional values appear to only be available if you use the relationship field as a variable pair:
{relationship_field}
{if relationship_field:field_name == 'foo'}...{/if}
{/relationship_field}
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```