Archive for October, 2013

Create an ajax control in drupal 7

We know that in drupal you can attach #ajax property to an existing ajax ready control to have ajax functionality, such controls like ‘button’,’textarea’,’select’,’radio’ etc, to find the whole list  see system_element_info() in which all the controls that #process function includes ‘ajax_process_form’ are ajax read controls.

The question comes when you want an ajx control which is not in the system_element_info(), in my case I want to use bootstrap dropdownbutton, which renders as

Read the rest of this entry »

Tags:

OpenLayers Primer

There are many benefits using OpenLayers for map functionalities compared with using map apis directly. here is a list of lessons I learned when I started out to use OpenLayers, they are basic  important concepts therefor critical to the correct use of OpenLayers, another reason they are here is I found them confusing too.

Read the rest of this entry »

Tags: