| Re: Trying to use a smarty tag in an IFrame - need help |
| by wizanda on 2007/12/20 19:27:42 Smarty renders the templates of XOOPS and so to use Smarty variables, it needs to be in the template… The variables can be assigned to Smarty in the PHP and also in the template if needed.... |
| Re: Trying to use a smarty tag in an IFrame - need help |
| by Quest on 2007/12/20 17:55:32 I'm not so sure you need the semi-colon after the $adverts echo=$adverts assuming of course you have defined $adverts (where it is) as far as I know smarty is located in xoops/class/smarty , not sure if that will help you or not. Have a look at it and see... Best of luck, Quest |
| Re: Trying to use a smarty tag in an IFrame - need help |
| by Will_H on 2007/12/20 17:30:53 So you created a custom module? Did you hook the modules? |
| Re: Trying to use a smarty tag in an IFrame - need help |
| by trspice on 2007/12/20 16:52:46 Thanks for the suggestion Quest. I did try that but the page returns empty. Here are the methods and results I tried; Quote:
Does the file need a smarty interpreter? I figured functions.php had the interpreter. |
| Re: Trying to use a smarty tag in an IFrame - need help |
| by Quest on 2007/12/20 11:54:10 Try echo $adverts //without the <{ and }> Quest |