Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Hey need help in replace of message body

 
Post new topic   Reply to topic    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
chatber
Smarty n00b


Joined: 12 Jul 2016
Posts: 3

PostPosted: Wed Jul 13, 2016 12:45 pm    Post subject: Hey need help in replace of message body Reply with quote

Hey i wanted to add a bb code in message conversion


And as i was try to find, i found that in smarty we can do replacement for variable

So i try do it with my message view body


Code:
{$convo[convo_loop].pm_body|replace:'[proimg]':'<img src="':'"/>[/proimg]'}
but its not doing the job


Can u say me where i am missing???
Back to top
View user's profile Send private message
chatber
Smarty n00b


Joined: 12 Jul 2016
Posts: 3

PostPosted: Wed Jul 13, 2016 12:46 pm    Post subject: Reply with quote

Hi all help me
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP