Hi all. I have my theme ('mw') with my regions:
function mw_regions() { return array( 'left'=>t('Barra di sinistra MW'), 'right' => t('Barra di destra MW'), 'similar' => t('Regione per i similarterms MW'), 'header' => t('Header MW'), 'footer' => t('Footer MW'), 'articoli' => t('articoli') ); }
Now I have created a block (ultimi_articoli) with "view" module and In the "block admin page" I have linked this block ("ultimi_articolo") with my "articoli" region. And for another test I have created a new block via "add block" in the http://62.101.68.210:801/admin/build/block page.
But, there is always a "but", in my page I have nothing into $articoli variable.
I have this function (only the interesting thinks are reported:
function _phptemplate_variables($hook, $vars = array()) { switch($hook) { case 'page': .... dvr($vars); case 'block': .... case 'node': ..... }
}
Why my "articoli" region is always empty ?
m.