Search by tags

CDN / externally hosted libraries

CDN / externally hosted libraries

You might want to use JavaScript that is externally on a CDN (Content Delivery Network) ? e.g. web fonts are usually only available using an external URL; you can't host them yourself.

Theme system overview

Drupal's theme system allows a theme to have nearly complete control over the appearance of the site, which includes both the markup and the CSS used to style the markup.

User variables in D7

Getting node author of current viewed node

<?php $node = node_load(arg(1));
echo $node->uid; ?>

Current login User.

Sample blackbox block

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas non porta odio, id mattis erat.

Nam sed tincidunt eros. Donec a venenatis odio, vitae commodo sem. Vivamus ullamcorper pellentesque erat, in adipiscing tortor scelerisque sit amet. Nulla pulvinar urna magna. Vivamus a ipsum lorem. Etiam adipiscing pulvinar lorem.