Jump to content

Template condition for profile field


Apfelstrudel

Recommended Posts

Posted

Hi,

I tried to implement a template condition to check a profile field of the user.

I used:

{{if \IPS\Member::loggedIn()->profileFields()->field_26}}
    to do
{{else}}
    more to do
{{endif}}

... but it didn't work. The result is always NULL.

What is wrong? Thanks in advance.

Archived

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

  • Recently Browsing   0 members

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