• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Display smilies in xen:helper snippets?

RichardKYA

Well-known member
#1
I'm trying to do this and I can get so far, but it's not being parsed and the they show up as <img> tags instead.

Anyone have any idea how to do this?

Thank you :)
 

Jake B.

Well-known member
#2
Snippets strip out all styling and BB Code, so I don't think that's possible :\ Or is it a custom helper you're making?
 

RichardKYA

Well-known member
#3
Well at the moment I'm just having a play with the Helper/Core.php to try and see what works, I can get snippets to display html <img> tags in place of :example-smilie: but that's as far as I can get. I've tried adding "xen:raw" to the template, eg:
Code:
{xen:helper snippet, {xen:raw $post.message}, 100}
, but that doesn't work - Honestly not even sure if that can be done either :cautious: