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
| A fix for Taxonomy translation bug in views. | |
| Views doesn't filter on taxonomy language. This custom module adds the taxonomy language field as an extra condition to your views query. | |
| This is what you should do: | |
| 1. Open taxlangfix.module | |
| 2. Find "PUT_YOUR_VIEW_NAME_IN_HERE" | |
| 3. Replace it by your view name (not the block or page name) | |
| 4. Save the .module file, clear your cache and you're done! |
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
| Drupal doesn't put a CKeditor default on the summary of the body field. | |
| This module does :) |
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
| A fix for the localization lack of the search results. | |
| Search module doesn\'t return localized search results, logically, as it is a side wide result. | |
| However, in some cases we only want to see the localized results, therefore this module adds the language argument to the SQL query. | |
| This is what you should do: | |
| - Copy this module into your "../modules/custom" folder | |
| - Activate the module | |
| - And that's it, all the rest is handled by this piece of code! |
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 | |
| /** | |
| * @file | |
| * Custom code for your dupal 7 site | |
| */ | |
| /** | |
| * Implements hook_help(). | |
| */ | |
| function fixes_help($path, $arg) { |
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
| /*Chrome bug fix (page moving up and down a few pics on slide) */ | |
| #content { | |
| -webkit-transform: rotate(0deg); /* WebKit */ | |
| -moz-transform: rotate(0deg); /* Mozilla */ | |
| -o-transform: rotate(0deg); /* Opera */ | |
| -ms-transform: rotate(0deg); /* Internet Explorer */ | |
| transform: rotate(0deg); /* CSS3 */ | |
| } |
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
| // first go to the_aim_theme settings and remove stripping of system.base.css | |
| // second: add code below to your css | |
| .draggable a.tabledrag-handle { | |
| height: 0.7em; | |
| margin-left: 0; | |
| font-size: 2.5em; | |
| padding-top: 8px; | |
| } |
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
| .shadow { | |
| position: relative; | |
| &:before { | |
| z-index: -20; | |
| position: absolute; | |
| content: ""; | |
| bottom: 18px; | |
| left: 10px; | |
| width: 50%; |
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
| //multi-column CSS - doesn't work in IE8, but hey who cares? ;-) | |
| .twocolumn { | |
| -webkit-column-count: 2; | |
| -moz-column-count: 2; | |
| -ms-column-count: 2; | |
| -o-column-count: 2; | |
| column-count: 2; | |
| -webkit-column-gap: 40px; | |
| -moz-column-gap: 40px; | |
| -ms-column-gap: 40px; |
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
| /** | |
| *Hacks for IE | |
| * | |
| */ | |
| /****** Targetting the different IE versions Uniquely with 4 Characters *********/ | |
| body { | |
| color: red; /* all browsers, of course */ | |
| color : green\9; /* IE8 and below */ | |
| *color : yellow; /* IE7 and below */ |
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
| /* | |
| * Prevent iPhone Text Enlargement | |
| */ | |
| body { | |
| -webkit-text-size-adjust: none; | |
| } |