Handlebars Helper for Agents Only?
Is there a helper I can use to only show an html element for an agent/manager? I haven't had any luck in finding it if it exists, and I would appreciate any help.
Thx
-
Is this in relation to Help Center?
-
Yep!
-
Will see if I can get Wes to have a look - he's a gun on HC :)
-
@Floyd - There's not a curlybar helper that I can think of off the top of head. Yes it would be nice if there was one. You will need to use JQuery in order to do this. Take a look here.
-
This kind of helper would be very useful for us. It would be nice to avoid the JS method and use a cleaner helper for things like {{if internal}} to manage templates.
Please sign in to leave a comment.
5 Comments