How to trigger a popup window/overlay in my module?

How to trigger a popup window/overlay in my module?

I am stuck in my project. I am working on a module for account management page. When the user update their billing address, a service call will be triggered to send request to a third party API to get a response indicating if the address if valid or not. If valid then... read more
How to trigger a popup window/overlay in my module?

Create an Action on ‘node_insert’ or ‘node_presave’

I created a new action on a new node being created, it shows up in my triggers and the action gets triggered. Works so far. Problem is trying to add additional functionality using some submitted field values. As of now, all its doing is logging in Watchdog. My goal is... read more
How to trigger a popup window/overlay in my module?

How do I override the content region for a specific page?

I want to override the content region for a specific page, but using the hook page–mypage–region–content.tpl.php won’t work. How should I name it? My site supports block override, I tested this with a dummy region.tpl.php and I currently use a... read more
How to trigger a popup window/overlay in my module?

Upload Nodes with Image Fields

I’m using jquery mobile and phonegap for a mobile app. I have uploaded an image file and received the fid but the subsequent request to create a node and attach the fid fails. The node is created although the image field is not filled in with the fid. Also the... read more
How to trigger a popup window/overlay in my module?

Dependent date_popup maxDate

In a profile2 profile, I want to change the maxDate of a date field depending on the selected value of gender field. I am using a custom module implementing the hook_form_profile2_edit_PROFILE_TYPE_form_alter() and loading JavaScript. The date field uses the... read more
How to trigger a popup window/overlay in my module?

Add custom user image field on private messages list instead of default user picture

ok, this is what I have done so far but it is still not working. First I wanted to add senders profile picture to the private message list on each user profile page. To accomplish that, I used the following code from drupal.org forum:... read more
How to trigger a popup window/overlay in my module?

Custom module Pager does not work with Ajax filter

My custom module uses an Ajax enabled drop down to allow users to filter images. There is also a pager attached to the query. The pager works fine when all the data is displayed i.e. no filter applied but after applying a filter, clicking a pager button just gives a... read more
How to trigger a popup window/overlay in my module?

How to change path of taxonomy facet

I am using facet search on my site. The search paths for taxonomy term facets are of the pattern “search/term-name”, but I would like them to be of the pattern “search/term-tid”. Is this possible? How can I change this? read more
How to trigger a popup window/overlay in my module?

Ubercart Node/Product Field access to Role and purchaser

I have an Ubercart ecommerce Drupal 7 site I’m building. The user can either subscribe (monthly/annually) or purchase node by node (pay as you go). I need to GRANT the subscriber or purchaser access to the main body field of the product node only, as teasers and... read more
How to trigger a popup window/overlay in my module?

Popup map block

I’m trying to get a map to appear in a modal but haven’t worked out a solution yet. I have a list of items and I would like a map with their locations to appear when I click a ‘view map’ button. I’m using Leaflet maps and Zurb Foundation,... read more
How to trigger a popup window/overlay in my module?

How to put select option value into particular category in webform module?

I am using webform module and added a select field. My option values are One|Sample 1 Two|Sample 2 Three|Sample 3 Four|Sample 4 Five|Sample 5 Six|Sample 6 But I want these three fields in a particular category named Sample list 1 One|Sample 1 Two|Sample 2 Three|Sample... read more
date field missing when use date popup with date & time

date field missing when use date popup with date & time

in my custom module, I have used the following code: $form[‘event_date’] = array( ‘#type’ => ‘date_popup’, ‘#title’ => ‘Set Date & Time :’, ‘#date_format’ => ‘d-m-y H:i’,... read more
How to trigger a popup window/overlay in my module?

LDAP module + Windows AD

I have a large AD setup which has not been configured in the ideal fashion, the base DN: dc=davinci,dc=mydomain,dc=local Now the existing structure of our AD looks something like: @ 1122 Logan Accounting Aquarius Alejandro Mike Justin Aerospace Distribution... read more
How to trigger a popup window/overlay in my module?

Allow user to fill out node form, then force registration

I’m making a classified website. Have a button that say “Make a ad” I would like the Anonymous user to be able to fill in the text for the ad. But the Anonymous users after filling in advert. has to sign up for the ad to be posted How can do this... read more
Redirect the title field of a content type to some external url in a view

Redirect the title field of a content type to some external url in a view

I am using drupal 7 with view3 I have content type named News having many fields along with a taxonomy field named News Type, News type have terms: ‘Free’ and ‘Premium’, I am displaying News on my page through view, the problem i am facing is I... read more
How to trigger a popup window/overlay in my module?

How do I change the order of the form elements?

I am using Drupal 7, and trying to make a custom register form to fit my needs. I am also using a contrib module named “Auto Assign Role” to let the user choose his role. Now heres the issue, the fields are appearing on the form but the order is messed up.... read more
drush 7 won’t take a command without a site alias?

drush 7 won’t take a command without a site alias?

I just installed drush 7.0-dev and with it all the composer and bash-completion goodness. The installation went well and in a new shell it (drush 7) is now my default drush. However it doesn’t seem to want to take commands without aliases. Is this really the new... read more
How to trigger a popup window/overlay in my module?

How to get the managed_file progress bar working in a custom theme?

I’m trying to get the managed_file progress bar working in a custom theme. Right now, when I start an upload, the empty progress bar widget appears in the form, but it doesn’t visually update while the file is being uploaded. If I switch my site from my... read more
How to trigger a popup window/overlay in my module?

Install Meta Tags and Meta Tags Quick modules on the same site

Short: Are Meta Tag and Meta Tag Quick incompatible modules? I am configuring a site that has Meta Tag Quick module but it doesn’t allow me to have a meta description tag. It creates an Open Graph description meta tag instead. Then I want to install Meta Tag... read more
How to trigger a popup window/overlay in my module?

Reorganize Language Switcher based on Country/Region

I’m working on a site with 34+ languages and will likely be expanding to more. With this many countries, a simple drop-down list can be difficult for usability. I would like to customize the language switcher so that I can categorize a language by region and... read more