[support] control content type on views theme function

marolijo - Pol Maresma marolijo at yahoo.es
Wed Jun 4 09:09:47 UTC 2008


Hello, how can I control the content type of a node on a view?
 
I need to personalize the theme output on views_slideshow module depending
on the content type, or altenatively on the views name.
function theme_views_slideshow_view_list($view, $nodes, $type) 
$fields = _views_get_fields();
$items = array();
foreach ($nodes as $node) {
    $item = '';
    if ($node->type == 'producte_estrella') {
    ...

 
thank's
 
Pol Maresma 
msn: marolijo




More information about the support mailing list