logo

Extra Block Types (EBT) - New Layout Builder experience❗

Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.

Demo EBT modules Download EBT modules

❗Extra Paragraph Types (EPT) - New Paragraphs experience

Extra Paragraph Types (EPT) - analogical paragraph based set of modules.

Demo EPT modules Download EPT modules

Scroll
28/07/2025, by Ivan

The site is based on Drupal 7 and has a name, for example, XXX. When you hover the mouse over it, instead of XXX, the tooltip shows "Home page," exactly like on your DrupalBook site where hovering over the logo in the top left also shows "Home page," just like on my site.

The site also uses the MetaTag module, but I couldn't fix this issue through it. What I need is this: when hovering over the site name XXX, the title attribute should be XXX. In Drupal 6, you could just edit the theme code by finding the corresponding place, but in Drupal 7 this approach didn't work—there is no code like "title home" in the theme at all.

It seems this can be overridden in template.php using function template_preprocess_html or function template_preprocess_page. Please advise how to do it correctly, so I can manually set the site title to be the same as the site name XXX instead of "Home page" showing.