You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is sometimes handy to check if a resource has a private property set, without the ability to actually use the property.
For instance... Checking if a users has an email adres setup, so you can display a contact form. Because the email field is private it is currently not possible to write
{%ifid.has_property.email%}{# show contact form #}{%endif%}
To make it possible to check if a private property is set, without the possibility to actually use the property. Could also be done via a separate model.
The text was updated successfully, but these errors were encountered:
Zotonic
version1.0.0.rc15
Description
It is sometimes handy to check if a resource has a private property set, without the ability to actually use the property.
For instance... Checking if a users has an email adres setup, so you can display a contact form. Because the
email
field is private it is currently not possible to write(Via @DorienD)
Proposal
Add something like this:
To make it possible to check if a private property is set, without the possibility to actually use the property. Could also be done via a separate model.
The text was updated successfully, but these errors were encountered: