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
<?php | |
/** | |
* If you want to emulate the node/%node page in a page without the $node in the path | |
* you can just call the same page callback as that url: node_page_view($node); | |
*/ | |
$node = node_load($nid); | |
return node_page_view($node); |
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
// Replace [data] with correct data. | |
sudo chown [user]:www-data [buildpath] -R | |
sudo chmod u-x,g-x [buildpath] -R | |
sudo chmod u=rwX,g=rX,o= [buildpath] -R | |
sudo chmod 2770 [files] | |
sudo chown www-data:www-data [files] -R | |
sudo chmod u=rwX,g=rwX,o= [files] -R |
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
<?php | |
// Module name | |
$module = ''; | |
// List of tables to install | |
$tables = array(''); | |
$schemas = drupal_get_schema_unprocessed($module); | |
foreach ($schemas as $key => $schema) { |
NewerOlder