Allow recursive [if] and [else] statements #6788
JoryHogeveen
started this conversation in
Ideas
Replies: 1 comment
-
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As the title says. Currently Pods only supports
if
shortcodes for a direct field of a pod like so:[if field]content[/if]
Our support gets a lot of people using the
if
shortcode the same as magic tags, which support recursive relationship fields like so:{@rel_field.field_name}
If would be nice if Pods templates support this for
if
shortcodes as well like so:[if rel_field.field_name]content[/if]
EDIT:
In order not to confuse our users
[each]
statements should also feature this enhancement.Beta Was this translation helpful? Give feedback.
All reactions