|
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 |
Dr.Schmidt Smarty n00b
Joined: 02 Oct 2005 Posts: 2
|
Posted: Sun Oct 02, 2005 2:48 pm Post subject: using a smarty array in a plugin |
|
|
Hi,
first, sorry for my bad english - I'm from Germany
my problem:
I have writen a PHP function which I use as PlugIn in Smarty. This function is responsible for creating URL's on my website. This function works well since I'am using it with normal vars like this:
Code: |
{genURL section=“mySection“ paramString=“&action=openAll&id=$myVAR” anker=””}
|
However if I using the same function together with a array it doesn't work as expected. e. g.:
Code: |
{genURL section=“mySection“ paramString=“&action=openAll&id=$array.var” anker=””}
|
Could somebody help me to fix me problem?
Thanks |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
|
Back to top |
|
Dr.Schmidt Smarty n00b
Joined: 02 Oct 2005 Posts: 2
|
Posted: Tue Oct 04, 2005 8:03 am Post subject: |
|
|
Thanks! Thats what I'm looking for.
... single quotes OK that was to easy to find it out my selfe... sorry |
|
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
|