Version: 4.3.2 Reporter: Robin Sowell —
If I create a text field called ‘test’ and I just put either an a or nothing in it, and then I test whether the next row’s value exists, I’m not getting the expected results.
Here’s what the template looks like:
{exp:channel:entries channel="class_schedual" status="not closed"}
{classes_grid}
This row is #{classes_grid:row_id}. Is the toggle true? value: {classes_grid:test}
{if classes_grid:test}
YES___
{if:else}
NO___
{/if}
{classes_grid:next_row}
The next row is #{classes_grid:row_id}. Is that toggle true? value: {classes_grid:test}. conditional:
{if classes_grid:test}
yes
{if:else}
no
{/if}
{/classes_grid:next_row}
{/classes_grid}
{/exp:channel:entries}
It shows the correct value for the next row, but the conditional only works if braced a la:
{if '{classes_grid:test}' != ''}
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); } ```