Click Fraud Protection
PHP related blog, freelancer to hire!

Posts Tagged theme_links

How set active item in primary links menu in Drupal

I wanted to set item to be active from my module. After research i found quite easy way to do it. I found theme_links() which are preparing menu to be displayed. Copy that into template.php in your theme folder. My function is quite simple: function YOURTHEMENAME_links($links, $attributes […]

Read more