lezergerichtschrijven.nl

AttachmentSize
lezergerichtschrijven28-05.jpg176.47 KB
This site was designed by http://fari.nl and it must look like this. What troubled me was the icons next to a few menu items. I don't want to use primary links menu-ids for this because these vary between my development and test system. Yes I could try to fix this and rely on these but I like what follows more. I learned about this on #drupal-theme from John Albin was to modify template.php so I did this: $link) { $class = $link['attributes']['class']; if (empty($class)) $class=''; $title = $link['title']; $class .= ' ' . implode('-', explode(' ', $title)); $class = trim($class); $vars['primary_links'][$key]['attributes']['class'] = $class; } } } ?> This solution is still not mature enough. Hope to solve it another way.