[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
still trying to get a for each type loop. having problem with if-loop-data
I am having a problem getting the if-loop-data tag to work. It doesn't see to get parsed out of the minivend code. It just shows up on the page as regular txt.
Here is the page I have:
<head> <title>winners</title> </head>
<body>
[loop-data base="winners" field="name"]
[if-loop-data base="winners" field="name"]
[loop-data base="winners" field="name"]
items to display here
[loop-code]<br>
[else]
nothing to display
[/else]
[/if-loop-data]
</body>
</html>
If I understand it right that should work. But it doesn't. All I get is the text as above minus the regular HTML tags. I tried putting this inside another [loop] to no avail.
In the docs the example has the loop closed with [/if-loop-field] I tried that & it doesn't work either.
The database is in the catalog.cfg.
Anyone have any ideas. Or know why i'm too stupid to make it go?
Thanks
Brian Kohles
brian@8fish.com