Hello, is there a way to call the GTranslate module into a different location on a webpage instead of having to assign it to a block? For example, I'd like to put it in the same region of the page as my main site navigation is and float it to the left. Is there some php that I could use to call it in?

Thanks!

Comments

Vacilando’s picture

Version: 6.x-1.4 » 6.x-1.5
Category: feature » support

Something like this should work:

$tmp = module_invoke('gtranslate', 'block', 'view', 0);
echo $tmp['content'];
apaderno’s picture

Component: User interface » Code
Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, since Drupal 6 isn't supported anymore.