Manage displays

This documentation is written for the 7.x-2.x version of Display Suite.

Display Suite allows you to manage the display of entities (such as nodes, views, comments, users, et cetera) on your website.

Manage display of an entity

  • Go to Administration > Structure > Display Suite (admin/structure/ds)
  • Click "Manage display" for the entity (e.g., "User") whose display you like to change

Note: you can find the same screen via the "Manage display” of the entity. E.g., via
Administration > Structure > Content types > Basic Page > Manage display (admin/structure/types/manage/page/display)

  • In the vertical tab "Layout for ... in default" choose the desired layout template (e.g. "Two column stacked") and click "Apply"

Note: Display Suite adds extra fields such as "Read more” and "User picture”

  • Start arranging the layout by dragging fields to regions ("Header”, "Left”, et cetera).
  • Save the changes

Display Suite screenshot

Configure the output of fields and labels

Drupal Plugin for NetBeans

What is NDDT (NetBeans Drupal Development Tool)?

From its github site:

NDDT is a module for the NetBeans IDE that aides in the development of Drupal module and theme development. It provides rapid access to all the core Drupal hooks and theme override functions.

Basic Things the NetBeans IDE Drupal Plugin provides

Quickly Stub-Out Blank Module and Theme folders and files

screenshot of Netbeans IDE for Drupal
To stub out blank module or theme folders and files under the "custom" folder:

  1. Open the NetBeans Projects pane and right-click on the sites/all/modules/custom folder
  2. Select New > Other > PHP > Drupal Module (or Drupal Theme)
  3. Fill out the module name
  4. Observe that the plugin will create a subfolder where specified, appropriately-named files, and open the files in NetBeans IDE editor for you

Drupal Code Completion

  • Theme hooks
  • Module hooks
  • ...

Where to get the NetBeans IDE Plugins for Drupal

There exist both Drupal 6.x and 7.x plugins for NetBeans. At this time, only D6 plugin shows within the NetBeans plugin finder. To pick up the D7 NetBeans plugin, visit the plugin developer's git-hub project page:

Openlayers Proximity Search – Drupal 7

Other references:

Intro

These are steps to create a proximity map that will filter a list of items and display results on a map based upon their distance from a user entered address or zip code. The process also creates a table (as an attachment) that lists the results and their distance from the selected address.

Comparison of Mapping modules

This page aims to provide developers and site builders some navigation on the sea of options for the mapping of location data sets in Drupal D7. This is by no means an extensive survey. The idea is that by listing a number of the most popular modules side by side with their features, it will make it easier for the reader to shortlist modules for their specific needs before examining details on the various project and documentation pages.

In general you'll need at least two modules to create maps from location data: one to provide a location data storage facility and one to render the locations as markers on a map.

Examples of location storage modules are: Location, Geofield and Geolocation field and Get Locations.

Additionally, while the table below indicates required location storage methods (such as "Geofield" for "Leaflets"), it is in fact possible to deploy a module such as Geocoder to, for example, use Location as a storage method for Leaflet or OpenLayers.

Step 2: Build Content Panes with Views

Now that you have created your custom content types and entities it's time to create different ways of organizing and displaying them. Because we are operating in a Panels paradigm you are going to create all of your Views displays as "content panes". This will allow your displays to be added into all panelized layout thus inheriting all of the awesome powers of Panels. We also want to leverage the magic of Panopoly by exposing certain kinds of configuration that will be customizable through the Panels In Place Editor (IPE).

Step 3: Summon the Power of Panels

Step 3 is when we summon the power of Panels to add a ton of functionality to our app with very little effort. This will allow us to create specific disambiguation pages, such as the main page of a news sections, layouts for specific content types and/or entities and the view modes for these. This will also allow us to set sane and useful defaults for site builders to use out of the box while still maintaining the awesome customization of Panels for use by more advanced users. Like a good rug, Panels really ties the room together.

Pages

Subscribe with RSS Subscribe to RSS - Needs updating