-
-
Notifications
You must be signed in to change notification settings - Fork 264
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow recursive [if] and [else] statements #5470
Labels
Type: Enhancement
Enhancements to features that already exist, but are not major additions
Milestone
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
6 tasks
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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.The text was updated successfully, but these errors were encountered: