Creare un Impaginatore Alfabetico con Views2 in Drupal 6

in drupal, views

drupy.jpgPer creare un impaginatore alfabetico con Views2 in Drupal 6 non e' molto difficile basta digitare un piccolo codice php come riportato sotto:

<?php
foreach(range('A','Z') as $letter) {
  print
'<strong>'.l($letter, "path_view/".$letter).'</strong> | ';
}
print
'<strong>'.l('Tutti', "path_view/all").'</strong>';
?>

Il codice php bastera inserirlo nella sezione "Intestazione" della vostra pagina Vista.