RSS Feed/News How to display posts (not raw $post.message) ?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,759
Points
823

Reputation:

I fetch soft deleted posts with a finder and pass to a template, where with <xf:foreach loop="$posts" value="$post"> display {$post.message}. It works, but when a message has a quotation, pix, links, it looks quite messy.

Is there some easy way to display them "pretty"? Say xf_render_post($post.message) or <xf:post value="$post.message" /> ?

Thanks in advance.

Continue reading...
 
Status
Not open for further replies.
Top