Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

problem with register_function

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
MaaSTaaR
Smarty Rookie


Joined: 08 Oct 2004
Posts: 8

PostPosted: Sat May 21, 2005 9:29 pm    Post subject: problem with register_function Reply with quote

hello Rolling Eyes

i register function :

Code:

$Smarty->register_function("SmartCode_replace","SmartCode_replace");


i try it :

Code:

{SmartCode_replace info="test :)"}


but when i do this

Code:

{SmartCode_replace info="$articlesloop[idx].articles_text"}


it's return (Array)

what is the solve ? Rolling Eyes


Last edited by MaaSTaaR on Mon Jun 27, 2005 8:42 am; edited 1 time in total
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Sat May 21, 2005 9:41 pm    Post subject: Reply with quote

{SmartCode_replace info=$articlesloop[idx].articles_text}
Back to top
View user's profile Send private message Visit poster's website
MaaSTaaR
Smarty Rookie


Joined: 08 Oct 2004
Posts: 8

PostPosted: Sat May 21, 2005 9:44 pm    Post subject: Reply with quote

Great Smile

thank you very much Embarassed
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General 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