Extend the structure of the site by way of content models, data storage, field types, and navigation, so it is more understandable to users.

View Mode Page

View mode page - Drupal 8 configuration screen

Create separate pages for different view modes for a given content type.

8.x - Configuration

  1. Go to your drupal admin -> "Configuration" -> "Search and metadata" -> "Entity view mode path".
  2. Here you can add a path pattern (e.g. /%/summary) and select a view_mode (e.g. teaser).

7.x - Configuration

  1. Create a content type
  2. Configure a view mode. If you are using Display Suite, or another means of adding view modes, you may need to add a new one.
  3. Go to the "manage display" tab for your content type.
  4. In the "View mode pages" tab, enter your URL pattern for the view mode page.

Taxonomy menu block

Taxonomy Menu Block configuration

Taxonomy Menu Block allows you to make blocks containing unordered lists that represent the structure of your vocabularies, creating a menu out of your taxonomies (without using Drupal's menu system).

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(

Geofile

A map displayed with KML and GPX.

Overview

This module allows you to display files such as KML or GPX on a slippy map.
It's using the excellent Openlayers module to display those data on maps.

Features for Drupal 7

This module provides:

  • A formatter for filefield: Geofile Map
  • A view style to display results on a map through the Geofile Viewssub module.
  • An hybrid layer for Openlayers: allows you to store features from layers into a single layer.

Requirements

Related modules

Release

Image Preset

Image Preset provides a new field formatter for image file entities, allowing you to directly choose an image style (from ImageCache), rather than having to create view modes and jump through hoops

Pages

Subscribe with RSS Subscribe to RSS - Site structure