|
Posted by Acrobatic on 12/04/07 22:26
> I understand the first bit, but the bit regarding "$yourSmartyForm-
>
> >assign('imageCat','2'); I'm a little lost with.
In your code you need to assign a Smarty variable with the value of
the imageCat you want. Are you using Smarty forms, ie "$yourSmartyForm
= new Smarty();"
If so, then you can assign a variable to be used in the {php} script
by saying $yourSmartyForm->assign('imageCat','2');
Then reference "$imageCat" within the {php} blocks. Clear as mud :)
Navigation:
[Reply to this message]
|