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

Is this a bug? A problem about Smarty function param.

 
Post new topic   Reply to topic    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
xiaoyz
Smarty n00b


Joined: 19 Jul 2003
Posts: 1

PostPosted: Sat Jul 19, 2003 5:44 am    Post subject: Is this a bug? A problem about Smarty function param. Reply with quote

When i use associate array variable as the Smarty function parameter, some unexpected results occured.

e.g.

{popup fullhtml=true text="Title: $item.pTitle"}

where $item is an associate array

but Smarty pop up this text: Title:Array.pTitle

I think funtion parameter should considter this case
Back to top
View user's profile Send private message
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Sat Jul 19, 2003 7:35 am    Post subject: Reply with quote

This is already supported: See Embedding Vars in Double Quotes
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Bugs 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