Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Section loop variable, - when not set i got Notice ...

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
softm
Smarty Rookie


Joined: 23 Sep 2010
Posts: 5

PostPosted: Sat Oct 01, 2011 11:19 pm    Post subject: Section loop variable, - when not set i got Notice ... Reply with quote

<!-- 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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Smarty 3 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