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 | |
/** | |
* Preprocess and Process Functions SEE: http://drupal.org/node/254940#variables-processor | |
* 1. Rename each function and instance of "rsn_base" to match | |
* your subthemes name, e.g. if you name your theme "footheme" then the function | |
* name will be "footheme_preprocess_hook". Tip - you can search/replace | |
* on "rsn_base". | |
* 2. Uncomment the required function to use. | |
*/ |
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
<!DOCTYPE html> | |
<!--[if IEMobile 7]><html class="iem7" <?php print $html_attributes; ?>><![endif]--> | |
<!--[if (lte IE 6)&(!IEMobile)]><html class="ie6 ie6-7 ie6-8" <?php print $html_attributes; ?>><![endif]--> | |
<!--[if (IE 7)&(!IEMobile)]><html class="ie7 ie6-7 ie6-8" <?php print $html_attributes; ?>><![endif]--> | |
<!--[if (IE 8)&(!IEMobile)]><html class="ie8 ie6-8" <?php print $html_attributes; ?>><![endif]--> | |
<!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html <?php print $html_attributes . $rdf_namespaces; ?>><!--<![endif]--> | |
<head> | |
<?php print $head; ?> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="MobileOptimized" content="width"> |
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
# To the extent possible under law, the author(s) have dedicated all | |
# copyright and related and neighboring rights to this software to the | |
# public domain worldwide. This software is distributed without any warranty. | |
# You should have received a copy of the CC0 Public Domain Dedication along | |
# with this software. | |
# If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | |
# base-files version 4.0-9 | |
# ~/.bash_profile: executed by bash(1) for login shells. |
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
$ drush @alias feeds-import athlete_importer | |
The drush command '@alias feeds-import athlete_importer' could not be [error] | |
found. Run `drush cache-clear drush` to clear the commandfile cache | |
if you have installed new extensions. |
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
$ drush ev "nbco_athletes_import_featured();" | |
WD php: QueryPathParseException: DOMDocument::load(): I/O warning : [error] | |
failed to load external entity | |
"file:///C:/xampp/htdocs/nbcsports/docroot/files/featured-athletes.xml" | |
(C:\xampp\htdocs\nbcsports\docroot\profiles\nbcsports\libraries\querypath\QueryPath.php: | |
2106) in QueryPathParseException::initializeFromError() (line 2346 of | |
C:\xampp\htdocs\nbcsports\docroot\profiles\nbcsports\libraries\querypath\QueryPath.php). | |
QueryPathParseException: DOMDocument::load(): I/O warning : failed to load external entity "file:///C:/xampp/htdocs/nbcsports/docroot/files/ | |
featured-athletes.xml" (C:\xampp\htdocs\nbcsports\docroot\profiles\nbcsports\libraries\querypath\QueryPath.php: 2106) in QueryPathParseExcep | |
tion::initializeFromError() (line 2346 of C:\xampp\htdocs\nbcsports\docroot\profiles\nbcsports\libraries\querypath\QueryPath.php). |
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
sqid Subqueue identifier qid Queue identifier. reference title | |
89 2 newsml_article-5677 NewsML Article importer: Top stories - Judo | |
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
includeCSS( | |
"http://localhost:8082/Warner-Common-Files/styles_v3.css", | |
"http://localhost:8082/Warner-Common-Files/1x1.gif", | |
"http://acquia.github.com/Warner-Common-Files/styles_v3.css" | |
); |
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
jQuery(function() { | |
for (i=4; i<=jQuery('div.views-row').size(); i++) { | |
jQuery('div.views-row-' + i + ' img.lazy').lazyload({ | |
effect: "fadeIn" | |
}); | |
} | |
}); |
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
drush fr -y rsn_most_commented_articles rsn_default_view_modes_config rsn_homepage rsn_footer_menu rsn_scoreboard rsn_blocks_and_menus rsn_poll rsn_sponsor_content_type rsn_quote_content_type rsn_top_stories rsn_team_landing rsn_video_landing_page rsn_placehoders rsn_article_blog_insider_updates rsn_default_content rsn_photo_gallery rsn_ramp_integration_template |
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 | |
/** | |
* This template is used to print a single field in a view. It is not | |
* actually used in default Views, as this is registered as a theme | |
* function which has better performance. For single overrides, the | |
* template is perfectly okay. | |
* | |
* Variables available: | |
* - $view: The view object | |
* - $field: The field handler object that can process the input |