Jump to content

Check category id in record template?

Kirill N

Recommended Posts


In the "record" template, I want to display something only if the record belongs to a certain category. How do I check this? I know the if condition should look something like this:

{{if $record->category == 1}}


But I can't figure out how to format it properly.


@opentype tagging you here since you're likely to know :blush:


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...