Display smilies in xen:helper snippets?

RichardKYA

Well-known member
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 :)
 
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?
 
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:
 
Back
Top Bottom