Closed (fixed)
Project:
Skeleton
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Jan 2013 at 16:03 UTC
Updated:
4 Jan 2014 at 02:58 UTC
Jump to comment: Most recent
The date used in the footer is static text. When you load the theme, the footer lists "2012 Your Site" regardless of current year and site name.
The attached file updates the page template file. Applying the patch gets me some whitespace errors, but the patch still functions fine and it updates both the year (to current), and the site name (to $site_name).
This is my first patch so any assistance correcting the whitespace errors would be appreciated.
| Comment | File | Size | Author |
|---|---|---|---|
| date-sitename.patch | 1.21 KB | mfgink |
Comments
Comment #1
Crell commentedThe whitespace issues are because your patch is using tabs. Everything in Drupal should indent with two spaces, no tab characters. (Many code editors default to tabs.) Also check to make sure you're using Unix-style newlines rather than Windows-style, if you're on Windows. That's another common source of errors. (Most good code editors can be set to use Unix-style newlines. Yes, Windows can't even use the same newline character as the rest of the world. But that's OK, Mac classic used a different one, too. Life is hard.)
Comment #2
bbinkovitz commentedI tried creating a sandbox with the latest release of Drupal, pulled the latest skeletontheme code, and attempted to create a re-roll of this patch from scratch in Vim. I got the same whitespace errors. Is there something wrong with the original file?
Comment #3
bbinkovitz commentedWhoops didn't mean to change the status.
Comment #4
gtsopour commentedJust committed this change
http://drupalcode.org/project/skeletontheme.git/commit/374030d
Thanks mfgink, Crell and bbinkovitz