Adding class to module block When I use the this code; &lt;?php $block = module_invoke('locale', 'block_view', 'language'); print $block['content']; ?&gt;, I get the following output. But I'd like to add another class to ul. 

&lt;ul class="language-switcher-locale-url"&gt;&lt;li class="en first"&gt;&lt;a href="/en" class="language-link" xml:lang="en"&gt;EN&lt;/a&gt;&lt;/li&gt;
&lt;li class="tr last active"&gt;&lt;a href="/ru" class="language-link active" xml:lang="ru"&gt;RU&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
Have you tried rendering the content instead?

&lt;?php print render($block['content']); ?&gt;


That, combined with the Block Class module should at least allow you to add a class to the wrapper, which is the next best thing to overriding the theming of the actual UL.