


File upload ajax and Radio Buttons not cooperating in registration form
I have enabled Profile 2 and profile Profile2 Registration Path modules on my site and have a really long registration form with lots of fields. I have some radio boxes and file upload fields also. The problem is when I upload a file without having selected a valid... read more
What are the appropriate configurations for the Subdomain module on Window 7 running XAMPP?
I have installed the Subdomain module (v 6.1.7), and I’m configuring a subdomain for testing on localhost. I have been tearing my hair out for days now, trying to get this module to work on my PC – and I’m still stuck on the settings/configuration... read more
How to alter user’s input?
I have a form to get some user input in Drupal. I want to add some prefix to the user input. For example, the user enters “Laptop”; I want to save it in the database as resource_Laptop. I want to add the prefix before the validation is done, to avoid it... read more
Append Fields to node form by ajax call
I have a node form with some fields, now I want to append some more fields to it on an ajax callback. in the ajax page I have rendered the new form elements with drupal_render function My problem is that I am not getting the newly built form fields in POST or... read more
Views displaying node reference fields
Will the view chosen (in the advanced settings) of a node reference in a content type get overridden by another view if the node reference field is shared between two (or more) content types? In more detail: I am working with a Drupal site that has a content type that... read more
How to process more than one item from queue in each run?
I have set up a queue using this code. function custom_logger_cron_queue_info() { $queues[‘custom_logger’] = array( ‘worker callback’ => ‘custom_logger_import’, ‘time’ => 60, ); return $queues; } I add items using... read more
Strict case in content URL alias
(Pathauto: Leave case the same as source token values) When I create a node with “Nullam vehicula pharetra” as title, the Pathauto module will create /content/Nullam-vehicula-pharetra as URL alias. But we can browse the same content with a different URL... read more
IMCE module is not showing icons on the editor
I installed the IMCE module, but it didn’t add any icon to the editor menu toolbar. It manually loads with domain.com/imce. read more
Using Entity reference + Views to create members select list
How can I use VIEWS + ENTITY REFERENCE to get list of active members specific to the CURRENT GROUP [created via organic groups]. I have created a view that list active members belonging to the group. I have seen Restricting selectable entities with Views But my... read more
Use CKEditor for textareas in custom form
I’m using the CKEditor module, and I would like to have the CKEditor in my custom textarea. I tried hard but it just doesn’t work… This some of the code I tried: $form[‘body’] = array ( ‘#type’ => ‘textarea’,... read more
Qiuck tabs shifts the Openlayers map background layer
Im displaying the list of locations (address and map Openlayers + Geofield) using views. There is no problems when displaying view in ordinary way, but when the view is displayed inside quicktabs the background shifts about 100px in particular(top-left) direction from... read more