How to change footer Powered by Drupal and its link?

前端 未结 4 2213
生来不讨喜
生来不讨喜 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

    This is a themable item, so you can add this to template.php:

    function MYTHEME_system_powered_by() {
      return '' . t('XYZ Powered by Drupal', array('@poweredby' => 'https://www.drupal.org')) . '';
    }
    

    Don't forget to rebuild the cache to see the change take effect.

提交回复
热议问题