Community & Support

putting a section of core code in my module

Hi,
I installed the front module.
in the Custom "Temporarily Offline" message and disable site for all except admins section
of this module I see a screen just like the core Site maintenance page.
I want to know how can I do the same thing, I mean putting a section of core code into my module?

thanks in advance...

Comments

You can not actually put core

You can not actually put core code in your module. There are ways to override/modify core behavior but there is not a single general approach. If you are looking for a more concrete answer, posting what you want to do (override/change) might get you a more focused answer.

thanks, I want to make the

thanks,

I want to make the drupal admin interface more user friendly.
for example How can I put a small icon instead of each menu item or near each menu item in the Navigation Menu?

Look at the existing modules,

Look at the existing modules, some possibilities Menu Icons(D6), Iconify(D6), Iconizer(D5,D6). There are other possibilities including themes aimed at simplifying administration.