Welcome Guest, Not a member yet? Register   Sign In
Cannot Access Global Variable in Loop
#4

You can use variable in a loop. You have to put it inside a specific sub-array ("content" in your case). Most people tend to pass to view/parser variables that are needed for that particular template rather then throw everything at it and let template decide if it needs it.
Reply


Messages In This Thread
RE: Cannot Access Global Variable in Loop - by siburny - 02-14-2016, 05:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB