Auto Update Copyright In Drupal Footer

Posted on April 08, 2015 - 1 Minute Read

Most websites have a copyright in the footer, like ©2015. However, if you do this using static text, you'll need to be sure to update this annually. Wouldn't it be nice to automate this process?

With Token Filter you can easily achieve this. Below are the steps to make it happen.

  1. Download and enable Token Filter and Token.

Screen Shot 2015 04 08 at 8 26 58 PM

  1. Select a text format or formats that you wish to apply Token Filter to. Select Replace tokens. This can be found under admin/config/content/formats

Screen Shot 2015 04 08 at 8 27 22 PM

  1. Now add a block under admin/structure/block/add. Make sure the text format is set to the format or formats you edited in step 2. You can now use tokens to dynamically update the year, or add your site's name.

Screen 20Shot 202015 04 08 20at 208 00 18 20PM

  1. Now you have an auto updating copyright block!

Screen Shot 2015 04 08 at 8 27 42 PM

Categorized In:Tagged In: