 |
Smarty
The discussions here are for Smarty, a template engine for the PHP programming language. Dedicated server web hosting provided by Guru-host.eu. |
| View previous topic :: View next topic |
| Author |
Message |
softm Smarty Rookie
Joined: 23 Sep 2010 Posts: 5
|
Posted: Sat Oct 01, 2011 11:19 pm Post subject: Section loop variable, - when not set i got Notice ... |
|
|
<!-- 3'd PARTY JS -->
{if isset($js_outer)}
{section name=j loop=$js_outer}
<script type="text/javascript" src="{$js_outer[j]}" ></script>
{/section}
{/if}
I need now insert {if isset($js_outer)} in my code ... is it right idea?
Cause i got (in smarty 2 - was nothing) an notice about that var is not set up in some cache php file ...
Can all help me understood this situation...?
Arsen |
|
| 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
|