Hello there,
I need to get an array with all fields name on a custom list template (using list view).
If I use before render field I would do this using this code:
foreach ($fields as $name) {
$names[] = $name->name;
}
Is there a similar way to do this in template index.php with $items loop? Or maybe extracting it from $CCK?
My provisory solution is pass the array from before render field to index.php using a userstate variable.
I need this to create a javascript object to be used as filter on client side.
Thanks