|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
MaaSTaaR Smarty Rookie
Joined: 08 Oct 2004 Posts: 8
|
Posted: Sat May 21, 2005 9:29 pm Post subject: problem with register_function |
|
|
hello
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 ?
Last edited by MaaSTaaR on Mon Jun 27, 2005 8:42 am; edited 1 time in total |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Sat May 21, 2005 9:41 pm Post subject: |
|
|
{SmartCode_replace info=$articlesloop[idx].articles_text} |
|
Back to top |
|
MaaSTaaR Smarty Rookie
Joined: 08 Oct 2004 Posts: 8
|
Posted: Sat May 21, 2005 9:44 pm Post subject: |
|
|
Great
thank you very much |
|
Back to top |
|
|
|
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
|