Appunti di programmazione sparsa
function themename_preprocess_page(&$variables) { if ($variables['node']->type == tipodinodo ) { $variables['template_files'][] = "page-node-" . $variables['node']->type; } }
Posta un commento
Nessun commento:
Posta un commento