0

"Powered by Drupal" is a footer block I need to change to my name for my website.

How do I edit its default title?

1 Answer 1

1

In drupal6, you can go into the block admin screen for that block and change the title there. If you are meaning the title/hover title for the drupal image itself, you can create a function in your theme's template.php file along the lines of:

function YOURTHEME_system_powered_by($image_path) {
  $image = theme('image', $image_path, t('Powered by Drupal, an open source content management system'), t('Powered by Drupal, an open source content management system'));
  return l($image, 'http://drupal.org', array('html' => TRUE, 'absolute' => TRUE, 'external' => TRUE));
}

and just change the t() functions in there to say whatever you want.

ADDITION:

A quick grep thru d7 suggests changing this...

/**
 * Returns HTML for the Powered by Drupal text.
 *
 * @ingroup themeable
 */
function theme_system_powered_by() {
  return '<span>' . t('Powered by <a href="@poweredby">Drupal</a>', array('@poweredby' => 'http://drupal.org')) . '</span>';
}

in a similar way as described above would accomplish what you want, but yes, you would need to edit some code to do it in your theme.

If that doesn't work, or you aren't confident enough to do that, you could just remove/disable the powered by drupal block itself and create another one with your own created by link in it.

2
  • Hi Jim thanks for the reply and sorry i am using Drupal 7 and i tried once, before a month to change the default block title "Powered by Drupal" to "Powered by Arun" which is in the footer without out changing or adding any codes and i am a noob in technical side... there must be a way to change edit this block.
    – Arun Kumar
    Commented Apr 10, 2012 at 3:59
  • 3
    creating a new block with your link is the easy way
    – Varshith
    Commented Apr 10, 2012 at 6:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.