Version: 4.3.5 Reporter: Pedro Guimaraes —
Example:
{exp:channel:entries}
{layout:set name="my_var"}
{rel_field}
{rel_field:title}
{/rel_field}
{/layout:set}
{/exp:channel:entries}
The above shows unparsed on the page. Works fine on 4.3.4.
In system/ee/legacy/libraries/relationship_parser/Tree_builder.php on line 216, you’re going to comment out $all_fields = … and replace a la:
//$all_fields = array_merge($this->relationship_field_names, array('parents', 'siblings'));
$all_fields = ['parents', 'siblings'];
foreach ($this->relationship_field_names as $field_name)
{
if (strpos($field_name, ':') === FALSE)
{
$all_fields[] = $field_name;
}
}
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); } ```