Closed (outdated)
Project:
K2
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Feb 2008 at 19:01 UTC
Updated:
21 Apr 2016 at 15:21 UTC
Jump to comment: Most recent
One nice feature of the Wordpress K2 Theme is the option to display randomly changing header images. In order to have this feature in drupal, too, I ported the Wordpress code into the Drupal version of K2. It would be nice, if the developers could merge my patch into the CVS version! To use the patch: (1) patch < template.php.patch (2) include the line print randomheaderimage() into the html header in the page.tpl.php file to actually use the new functionality (3) create a folder k2/images/headers and place some 780x200px jpg/png/gif images into this folder.
| Comment | File | Size | Author |
|---|---|---|---|
| page.tpl_.php_.patch | 536 bytes | jjh | |
| template.php_.patch | 1.59 KB | jjh |
Comments
Comment #1
geshan commentedTry this for a change.
Comment #2
adisos commentedIt's works. Thank you.
Comment #3
kenorb commentedComment #4
kenorb commentedClosed because Drupal 5 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.