I am making an application where I use some fields users have submitted with formbuilder, I don't want to use the standard template so I am trying to make one myself.
I can't find the parameter I have to use if I want to call a specific field from all the entry's who have been approved by me.
So I am searching for something like this:
{foreach from=$list item=entry}
{$entry->field[name]}
{/foreach}
Hope its clear what I want.
[solved] Formbrowser help
[solved] Formbrowser help
Last edited by balle on Fri Dec 25, 2009 12:24 am, edited 1 time in total.
Re: Formbrowser help
To inspect record in form browser paste
at the top of "List Template" of appropriate form browser.
Code: Select all
<pre>
{$list|var_dump}
</pre>
Re: Formbrowser help
Thanks, that brings me a step closer, but I can't find how to call these parameters now?
Last edited by balle on Thu Dec 24, 2009 10:56 am, edited 1 time in total.
Re: Formbrowser help
Here is smarty variable syntax from http://www.smarty.net/manual/en/languag ... iables.phpI can't find how to call these parameters
{$foo} bar} bar()} bar($baz,2,$bar)} <-- passing parameters
{"foo"} <-- static values are allowed
{* display the server variable "SERVER_NAME" ($_SERVER['SERVER_NAME'])*}
{$smarty.server.SERVER_NAME}
Re: Formbrowser help
OK it's working now, thanks
I did it with this code:
3 is the sorting number you gave on the first tab to a field
I did it with this code:
Code: Select all
{foreach from=$list item=entry}
{$entry->fields[3]}
{/foreach}