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

CCK Single Select

Overview

This module extends the functionality provided by five modules coming with Content Construction Kit (CCK) for Drupal 6.x:

  • Node Reference
  • Number
  • Option Widgets
  • Text
  • User Reference

and by the module Select (or other).

It acts when a CCK field of type

  • Decimal
  • Float
  • Integer
  • Node reference
  • Text
  • User Reference

with the widget

  • Select list
  • Select (or other) list

is added to a content type,

  • and the Number of values is kept to 1 (one).

Such a field is a single-value select list.

CCK would natively display such a single-value select list as follows:

  • If the field is required, the first selectable option is pre-selected. This would allow the end-user to successfully submit a form without actually selecting anything from a required select list, effectively making the "required" property obsolete.
  • If the field is not required (optional), a non-value option "- None -" will be added on top.

CCK Single Select (this module) changes the first (default) option of each single-value select list as follows:

  • If the field is required, a non-submittable customizable option will be added on top (defaults to "- Please select an option -"). This forces the end-user to actively select one of the provided options in order to successfully submit the form.
  • If the field is not required, the non-value option on top will be made customizable (defaults to "- No selection -").

Pathauto Menu Link

If you use parent menu links to generate paths within Pathauto, you'll notice that the resulting path is only updated when a node is saved, which means that if you simply move a menu link item with

Multiple value field delete button

Multiple field delete button

This module adds a "Delete" button to drag'n'drop multiple value fields. No dummy js and/or css which hides the certain fields. Ajax style.

Total Gallery Formatter

Optional Elegant style

OVERVIEW

The Total Gallery Formatter module creates both a gallery formatter and a carousel formatter for image fields with more than one number of values, It gives you the full control over its funtionality and styling, because offers you many options.

This module exceeds the capabilities of other existing gallery formatter modules, because it uses the CarouFredSel jQuery Plugin which gives more features. And creates responsive galleries and carousels.

This module can use colorbox if you have installed the colorbox module:
https://drupal.org/project/ColorBox

¡Works on Drupal Commerce!

FEATURES

These are the options available:

  • Slide Image Style
  • Thumbnail Image Style
  • Colorbox Image Style
  • Carousel Items
  • Scroll Effect
  • Responsive
  • Direction
  • Autoplay
  • Circular
  • Infinite
  • Pagination scroll duration
  • Pagination Easing
  • Style
  • Open in Colorbox

Book Menu

This simple module exposes a book tree as a menu. It allows modules like DHTML Menu to apply themselves to book navigation.

geoip_lang

logo geoip

This module allows you to use free GeoIP Lite database by MaxMind to redirecting users based on their country or location for an i18n site
For using this module geoip should be insatlled on your webserver .

$ sudo -s
# apt-get install build-essential php5-dev php5-cli libgeoip-dev libgeoip1 php-pear
# pecl install geoip

Next

# echo "extension=geoip.so" >> /etc/php5/cli/php.ini
# echo "extension=geoip.so" >> /etc/php5/apache2/php.ini
# wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
# gunzip GeoLiteCity.dat.gz
# mv GeoLiteCity.dat /usr/share/GeoIP/GeoIPCity.dat

to test use this code

var_dump(geoip_record_by_name('209.202.168.22'));

The Logic

Basically this module tests to see

  • If you have a writable session.
  • If you have already been redirected.
  • Which country you are in.
  • If the URL you requested already has a country code.
  • Which languages are provided for on the site.

This project is inspired by this tutorial.

What this module do ?

  1. Detect the user location

Pages

Subscribe with RSS Subscribe to RSS - Site structure