Created
February 7, 2016 02:07
-
-
Save gh640/2964a1c9f5dc109ea9d0 to your computer and use it in GitHub Desktop.
Drupal 7 でテーブルフィールドの sticky header 効果をなくす
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Implements template_preprocess_table(). | |
| */ | |
| function mytheme_preprocess_table(&$variables) { | |
| // すべてのテーブルでテーブルの sticky header を止める | |
| $variables['sticky'] = FALSE; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment