Mr Lucky Well-known member May 14, 2020 #1 I want to hide/show something in the <head> of xfrm_resource_view. Does anyone know what conditional statement i can use for that if it's possible? Thanks Last edited: May 14, 2020
I want to hide/show something in the <head> of xfrm_resource_view. Does anyone know what conditional statement i can use for that if it's possible? Thanks
K kick Well-known member May 14, 2020 #2 <xf:if is="$template == 'xfrm_resource_view'"> Upvote 0 Downvote
Mr Lucky Well-known member May 14, 2020 #3 kick said: <xf:if is="$template == 'xfrm_resource_view'"> Click to expand... Thanks, but I want it for just one specific resource. So I will need to put it in that template to hide /show just on one resource only. Upvote 0 Downvote
kick said: <xf:if is="$template == 'xfrm_resource_view'"> Click to expand... Thanks, but I want it for just one specific resource. So I will need to put it in that template to hide /show just on one resource only.
K kick Well-known member May 14, 2020 #4 HTML: <xf:if is="$resource.resource_id == 16"> Just test it </xf:if> Upvote 1 Downvote
NinaMcI Active member Aug 12, 2020 #6 Can you help with the conditional statement to show content in a specific resource category? Upvote 0 Downvote