How to change footer Powered by Drupal and its link?

前端 未结 4 2223
生来不讨喜
生来不讨喜 2021-02-19 00:57

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.\

相关标签:
4条回答
  • 2021-02-19 01:33

    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.

    0 讨论(0)
  • 2021-02-19 01:33

    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.

    0 讨论(0)
  • 2021-02-19 01:34

    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.

    0 讨论(0)
  • 2021-02-19 01:36

    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 &copy; <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.

    0 讨论(0)
提交回复
热议问题