Skip to main content
Home
Toggle menu

Main navigation

  • Home
  • Blogs

Fields

Using Colorbox to show Node Images in Drupal 7

Colorbox is very nice module after Lightbox2. The colorbox module can also be used for auto-handling of images, which includes image slideshow as well, for image fiel
  • Read more about Using Colorbox to show Node Images in Drupal 7

How to remove colon from field label

Drupal 7 field module defines a field level template file, which defines the HTML structure of the field. We can use this file to override the display of field including changing how label will be display.
  • Read more about How to remove colon from field label

Get allowed values of select list field

Ever wanted to retrieve a list of allowed values of select list, here's a sample code:
  <?php
    $field = field_info_field('FIELD_NAME');
    $allowed_values = list_allowed_values($field);
  • Read more about Get allowed values of select list field

Removing extra empty row in unlimited value field on node edit

In Drupal the normal functionality of multi-value field on node edit screen is like this, it adds one more extra row where user can add data if they want or leave as it is if don't.
Wha
  • Read more about Removing extra empty row in unlimited value field on node edit

Monthly archive

  • March 2019 3
  • September 2018 1
  • July 2018 2
  • April 2018 1
  • August 2017 1

Pagination

  • Next page ››
sfy39587stp18