Archive for the ‘PHP’ Category

Free PHP, HTML, CSS, JavaScript editor (IDE) – Codelobster PHP Edition

Disclaim: Following review is provided by Codelobster

For valuable work on creation of sites you need a good comfortable editor necessarily. There are many requiring paid products for this purpose, but we would like to select free of charge very functional and at the same time of simple in the use editor – Codelobster PHP Edition .
Read the rest of this entry »

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:

Multi values field development drupal

Field api is a very useful feature in drupal in terms of extension of entity, reuse of code and modularization of software development.

To me the Field is the way to establish the references between two data block, the entity and the Field, as in drupal Field can have columns, I have yet to see how to establish references between entities without any use of none core modules, using Field can allow us to achieve similar results with just built in drupal core modules.
Read the rest of this entry »

Tags:

How to modify static javascript data in Drupal

We can add javascript or javascript settings in drupal by calling drupal_add_js(), in some cases you may want to remove some javascript you add earlier.
There is no built in function like drupal_remove_js() to do that.
Read the rest of this entry »

Tags:

Multiple files upload using managed_file in drupal

There is already a multiple file management module in drupal: plupload, but no luck when I tried to use it following their instructions. Read the rest of this entry »

Tags:

Page 1 of 612345...Last »