This modules integrates the commercial ImagePaste CKEditor plugin. This allows you to paste images directly into a CKEditor field and attach those images to the node.
Don't wanna share your custom modules on Drupal.org? Or do you have a highly secured intranet environment not allowing to update your modules from the official Drupal.org update server? You can now set up your own update server!
Drupdates allows you to set up a release-history server within Drupal. You can add projects and upload releases within seconds.
Javascript Templates provides a simple workflow to add HTML templates to 1 Javascript file as output. You can add your own templates with a custom hook or alter currently available templates.
The main goal of the module is to use your templates within Javascript (for example in underscore.js templates). This prevents you to have any line of HTML within your Javascript code.
Mustache.js-like templates do NOT have my preference because they create <script></script> tags that are not elegant within your HTML DOM.
Example implementation in your Drupal module for a custom template.tpl.html file: (you can also use Drupals theme() layer, output should always be rendered HTML)
<?php
/**
* @return array
* @see hook_javascript_templates_add()
*/
function MY_MODULE_javascript_templates_add() {
return array(
/****
** hook_block_view()
****/
function currencycode_block_view($delta) {
$blocks = array();
//delta is your block name. then just set it equal to your return functions.
switch ($delta) {
case 'executive_sidebar':
$blocks['subject'] = '';
$blocks['content'] = drupal_get_form('currency_form');
break;
}
return $blocks;
}