Empower developers with tools that assist with developing and debugging the frontend or backend of the site.

GMap3 Tools

Summary

A collection of developer tools for quick Google map creation from Drupal code. Uses Google map API version 3.

This is utility module - you need this module only if some other module requires it.

Main goal of this module is to offer developers very light and easy PHP implementation of Google Map API version 3 for Drupal.

News

  • 2013-Apr-13 - new features: map geolocation, relative marker coordinates and draggable markers with dragging event that updates custom lat/lng value input form fields.

How to use it

Check example page (you need to enable module to load examples) for couple of short examples

http://your-site/gmap3_tools/example

. Note that you do not need to enable module to use it API calls, you just need to include gmap3_tools.inc file in your code.

Basically you need to do 3 things to get working gmap:

  1. Load gmap3_tools.inc file
    module_load_include('inc', 'gmap3_tools');
  2. Call gmap3_tools_add_map() function from API file with appropriate map configuration array
    <?php
    // Map example with some custom options and 2 markers.
    gmap3_tools_add_map(array(
    'mapId' => 'gmap-canvas',
    'mapOptions' => array(
    'zoom' => 8,
    ),
    'markers' => array(

Rules URL Argument

This module provides two rules conditions based on URL arguments:

Drush Usersets

Provides Drush commands for adding, updating, and deleting users from a CSV or JSON file. This allows you to quickly and easily create users, update their information, block users, and delete users, all by selecting a JSON or CSV data file.

Autocompleteinator

Have you ever wanted to add autocomplete functionality to a text field, wanted autocomplete but didn't want to write a module to make that happen? Autocomopleteinator utilizes the power of views to allow you to output any content (users, taxonomy, search results etc) as an auto complete for any Drupal generated text field.

tl;dr: Create a field, create a view, turn that field into an autocomplete without having to write any code.

This module requires views_arguments_in_filters until http://drupal.org/node/357082 is in Views 3.

Directions
---

  1. Enable the autocompleteinator module (make sure you install views_arguments_in_filters too)
  2. Enable the autocompeteinator_helper module
  3. Create a feed view display and set it to Autocompleteinator (the RSS one is selected by default)
  4. Add whatever fields you want to the view
  5. Change the settings for the feed and select the fields you wish to be shown
  6. Add in a Global: Null argument (and only this)
  7. Add in a filter for the field(s) you want to search. For the value put in %1 (this is what views_arguments_in_filters actually does)
  8. Save your view and make note of the feed path

ckeditor_geshi

Result of saving form in CKEditor using CKGeshi plugin

A javascript-plugin for CKEditor, enhancing it to incorporate support for the GeSHi Filter module.

This module provides the included "ckgeshi" javascript-plugin the current settings from GeSHi Filter, so that CKEditor can create code-regions that will be highlighted by GeSHi Filter module. It supports both WYSiWYG mode and Source mode of CKEditor.

Sure you can switch to Plain-Text mode (exit CKEditor) or use your own Input Format without using CKEditor.
However this module enables CKEditor's WYSIWYG and Source modes to interact with GeSHi code-regions properly.

See the attached images for a quick overlook.

Pages

Subscribe with RSS Subscribe to RSS - Developer tools