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

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

Notification API

Uses Symfony's Event system to provide an API for message notifications.

Domain Access Bridge

!! DEPRECATED !!

Please use Access Control Bridge as it can be considered as the successor of this module.


Description

GALoader

Module that hides default drupal ajax loader and expose a custom one in a fixed position. Just install and it's ready to use on any ajax callback.

Correspondence

Create a nice looking PDF communique with letterhead for either e-mail or print correspondence.

Adds a PDF tab to the node edit form. The WYSIWYG output will not match the PDF perfectly due to the fact that PDF exists in "print" while the WYSIWYG is browser based and thus treats text differently. Things that have sizes defined explicitly such as HTML tables or images should be pretty dead-on.

Requirements:

  • Relies on Libraries and the TCPDF library.
  • The IMCE module is required for the most basic configuration in order to at least upload and configure the header and footer.

Highly recommended:

  • WYSIWYG and the TinyMCE editor. Your letters won't be very interesting without a WYSIWYG editor!

Configuration:

You will need to create a basic node type named 'correspondence' and, if you use a WYSIWYG editor, all of the configuration necessary to get the editor to work.

Pages

Subscribe with RSS Subscribe to RSS - Developer tools