How can I HIDE MODULEs TITLEs?

Navigation, user logon and other....

Comments

dman’s picture

It would be nice if it was configurable (I've made it so in my own implimentations) but the easy way is
[style]
#block-user-1 h2{display:none}
/* or */
.block h2{display:none}
[/style]

Or in your own theme.

http://www.coders.co.nz/

Budrick’s picture

Thanks,
Strange that it is not configurable
________________________________________
www.saunas.kz

DallyBoy’s picture

Ummm, would you mind sharing the implementation? I would be interested in that myself...

Cheers

Budrick’s picture

... but dman already gave us the implementation...
_______________________
www.saunas.kz

DallyBoy’s picture

No, he gave us the way to hide them, not to make it configurable as in this statement:

It would be nice if it was configurable (I've made it so in my own implimentations)

I do not have a problem with hacking things, that's why I like the idea of confiigurable titles..it might even make using the dashboard module simpler.

heine’s picture

To change strings from the Drupal interface:

  1. Enable locale.module (core)
  2. Go to administer » localization
  3. Make a new language with an appropriate name and code en-US-local
  4. Enable the new language and set default (if you want disable English provided by Drupal)
  5. Seach for strings in tab manage strings
  6. Edit the string

And no, it's not considered a hack.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

DallyBoy’s picture

Thanks for that but is this only changing the language of the title? If so, that is not what I am talking about. Currently Drupal *requires* a title for all nodes. What I understood dman accomplished was the ability to control if a node has a title or not - a totally different animal. Turning off the *need* for a title would suit those nodes that that had no intention of using one aka the dashboard module. Implementing the dashboard module as a front page alternative definitely does not require a title.

I will stand corrected if dman infered something different.

heine’s picture

I now see the 'configurable' was about the hiding of the module title. Right now, you'll have to code something like this into the theme (for on node basis).
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

Budrick’s picture

Editing block names in language file solves the problem.
The little incovenience is that menu names also disappears in administration menu.
I use to change menu title for <!--Navigation-->, because emtpy value considered by Drupal as untranslated string an he puts an English title instead, and &nbsp; leaves an empty string above menu.
_________________________
www.saunas.kz

DallyBoy’s picture

Sorry again Budrick, but we are talking about node titles, not block titles. Handy information to have about blocks nonetheless...

dman’s picture

"Navigation, user logon and other...."
Like the one that says "New Forum Topics" over the side there.

Node titles, well, if you insisted, you could zap it in css, but much better to modify your theme instead.

Anyway, there's obviously a few ways of doing it, each with their own merit.
Not all themes will take kindly to the title disappearing on it, so some extra tweaks may be needed.

http://www.coders.co.nz/

DallyBoy’s picture

Bummer dude! :) I was hoping to find the holy grail of getting rid of module titles selectively. The search continues.....

Cheers

Kite’s picture

Sorry, I ment blocks from the start.
Its all because of moving from Joomla - those things are called modules there.
______________________
Its me, Budrick from another PC

DallyBoy’s picture

Aha! From Joomla.. now I understand. Sorry for being argumentative...

Cheers

Anonymous’s picture