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
| /** | |
| * Helper function that creates the default nodequeues. | |
| */ | |
| function demo_create_default_nodequeues() { | |
| $queue = nodequeue_load_queue_by_name('nodequeue_name'); | |
| if (!$queue) { | |
| $nodequeue = new stdClass(); | |
| $nodequeue->name = 'nodequeue_name'; | |
| $nodequeue->title = 'My Nodequeue'; |
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
| /** | |
| * Implements hook_module_implements_alter(). | |
| */ | |
| function mymodule_module_implements_alter(&$implementations, $hook) { | |
| // We need this hook running at the end. | |
| if ($hook == 'form_alter' && isset($implementations['mymodule'])) { | |
| $mymodule = $implementations['mymodule']; | |
| unset($implementations['mymodule']); | |
| $implementations['mymodule'] = $mymodule; | |
| } |
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
| javascript:(function()%20{var%20allBody%20=%20document.getElementsByTagName('body');%20var%20body%20=%20allBody[0].outerHTML;%20var%20regex%20=%20new%20RegExp(/\<div%20id="([0-9]+?)"%20style/);%20var%20matches%20=%20regex.exec(body);%20document.getElementById(matches[1]).remove();%20var%20grayDiv%20=%20document.getElementById('LNA_paywall_modal');%20grayDiv.parentNode.remove();%20})() |
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
| javascript:(function()%20{var%20allBody%20=%20document.getElementsByTagName('body');%20var%20body%20=%20allBody[0].outerHTML;%20var%20regex%20=%20new%20RegExp(/\<div%20id="([0-9]+?)"%20style/);%20var%20matches%20=%20regex.exec(body);%20document.getElementById(matches[1]).remove();%20var%20grayDiv%20=%20document.getElementById('LNA_paywall_modal');%20grayDiv.parentNode.remove();%20})() |
NewerOlder