Welcome Guest, Not a member yet? Register   Sign In
Troubles with Loops in Dwoo Parser
#1

[eluser]Clooner[/eluser]
I'm using phil's dwoo library and initial testing seems to be working fine. However I run intro trouble when I start using the loop function. Here is my code
Code:
{$myurl}
{loop $products title id}
<h1>{$title}</h1>
<a href="{$myurl}">Link</a>
{/loop}
The first $myurl get's loaded just fine but whenever I use the $myurl inside the loop I get an error saying it doesn't exist? This is my first time working with any template system so I might be doing it wrong but the dwoo documentation was not really helpful since it only has a real basic example on how to use loops. Hopefully someone here can explain me how to get the $myurl working inside the loop.


Messages In This Thread
Troubles with Loops in Dwoo Parser - by El Forum - 11-02-2010, 12:57 PM
Troubles with Loops in Dwoo Parser - by El Forum - 11-02-2010, 01:29 PM
Troubles with Loops in Dwoo Parser - by El Forum - 11-02-2010, 02:23 PM
Troubles with Loops in Dwoo Parser - by El Forum - 11-02-2010, 02:28 PM
Troubles with Loops in Dwoo Parser - by El Forum - 11-02-2010, 02:48 PM
Troubles with Loops in Dwoo Parser - by El Forum - 11-02-2010, 04:00 PM
Troubles with Loops in Dwoo Parser - by El Forum - 11-02-2010, 04:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB