Last active
February 15, 2016 11:29
-
-
Save purushotamrai/80d0ca9e2004c095cdbe to your computer and use it in GitHub Desktop.
This file contains 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
if (variable_get('site_default_country') == 'US') { | |
// change weight views for specific country. | |
} |
This file contains 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
$view = views_get_view('weight'); | |
if (isset($view->display['marketing_tools_sort'])) { | |
// change weight views. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment