I am working on Drupal. I want to know how to change that footer text Powered by Drupal and link given to it. I want there "Copyrights 2012 (My site name).All Rights reserved." I can not getting it can any one help me.
Just go to Structure -> blocks -> Add block
Leave block title blank block description Custom Footer or any other if you want
and in Block body add following code
Copyrights © <a href="http://localhost/drupal-7.12/">TopTableToastMaster</a>.All right reserved.
After doing this set default footer's region as none and add your custom footer.
Hope this will solve your problem.
Just create your own block with your own text and replace the drupal one with your own.
To do that, go to the block adminstration area. Click on Add block. Add your HTML with your link. Then put your block in your footer area.
go to Structure then goto blocks then Add block
Give the block title blank block description Footer or any other
and in Block body add code
Copyrights © Your site name.All right reserved.
This is a themable item, so you can add this to template.php
:
function MYTHEME_system_powered_by() {
return '<span>' . t('XYZ Powered by <a href="@poweredby">Drupal</a>', array('@poweredby' => 'https://www.drupal.org')) . '</span>';
}
Don't forget to rebuild the cache to see the change take effect.
来源:https://stackoverflow.com/questions/9998160/how-to-change-footer-powered-by-drupal-and-its-link