Salve,
vorrei cambiare la voce "home" nel percorso del sito (breadcrumb) ma non riesco a trovare la sezione del pannello amministrazione inerente.
Sapreste essere d'aiuto?
Percorso sito web
Mer, 01/05/2013 - 17:24
#1
Percorso sito web
Ciao, per modificare i breadcrumb è necessario mettere la funzione preprocessor nel file template.php del tema:
function my_awesome_theme_breadcrumb($variables) {
$breadcrumb = $variables['breadcrumb'];
if (!empty($breadcrumb)) {
// Provide a navigational heading to give context for breadcrumb links to
// screen-reader users. Make the heading invisible with .element-invisible.
$output = '<h2 class="element-invisible">' . t('You are here') . '</h2>';
// Add 'my-awesome-class' to the breadcrumb wrapper and change the separators from '»' to '::'.
$output .= '<div class="breadcrumb my-awesome-class">' . implode(' :: ', $breadcrumb) . '</div>';
return $output;
}
}
Googlando un po ho trovato questa, ma ci sono altre soluzioni ed esempi: http://www.interactivejunky.com/tutorial/theme-override-functions-beauti...