


How to create a rule to compare an order total with a custom field in a content type?
I have multiple restaurants with each another value for minimum order price, this is a custom price field in the content type “Restaurants”. I would need to make a rule where the total order amount is compared to this custom price field. If the total from... read more
CKeditor adding an extra <br/> tag when a <br/> tag is encountered
I am experiencing a very annoying problem with ckeditor 4.4.7.3. Everytime a <br/> is entered into the editor, it displays the next line right below the existing line as one would expect. However, when you view the page, an extra <br/> tag appears along... read more
How to resolve my Open Atrium installation error?
I am very new to open atrium. I installed Open Atrium and now the home page is not loading properly. Instead I have the following error: Warning: file_put_contents(temporary://fil29F1.tmp): failed to open stream: “DrupalTemporaryStreamWrapper::stream_open”... read more
Multiple URL aliases for same node
I have the following URL aliases for the same node. /products/single-room/product-listing/wall-mount /products/multi-room/product-listing/wall-mount I have two details button Single & Multi-rooms; Single Room button has a link to... read more
Send message notification when license expired
I have a commerce site where I sell subscription using the Commerce License module. I want to send email notification to users whose licenses will expire soon. I’m trying to do that by creating a custom module. I have 2 code snippets, one to notify users when... read more
how to filter blog posts by taxonomy and by year
I have been trying to build a filter fuctionality for blog posts. I would want to filter by taxonomy terms and by the year the post was published. So basically in the content I want to list all blog posts – on sidebar I would have all used taxonomy terms listed and... read more
Views attachments and filters
I’ve created a view from geocoded nodes which shows nodes on a map. I’ve also created an attachment view which I’ve attached to this map view. This is to have a listing under the map view to make items more accessible. However, I can’t get that... read more
Leaflet library not avaliable even though it’s in sites/all/libraries
I’ve seen people talking about hook_library() etc., but I’m not creating a custom module, I’m trying to use Leaflet. In the browser I get the error message: L is not defined From leaflet.drupal.js in my sites/all/modules folder. I’ve got the... read more
Connection timed out and lock_may_be_available() on working site
I’m hoping someone can point me to a fix. My drupal 7 app was running fine locally this a.m. while I was testing a way to insert a row using mysql tools for a non-Drupal function. My environment is Apache running virtual host on php 5.4.34 on a Ubuntu VM. After... read more
Date filter using $row data doesn’t return any result
I am trying to filter my view by using a date range so that it shows all the activities for an event for which Activity Start >= Event End & Activity End <= Event Start. To do this I have set up a view to show all the activities with a contextual filter to... read more
Quick Edit setup and usage
I added quick edit to my site. Made sure all the correct libraries are in place and see the quick edit button in the gear next to the content, but am not getting any way to save the changes. The screenshot shows what I see when I click in the content area. I have... read more
What is good way to hide update.php file?
I will like to know what is the correct/better way to hide update.php file on the production server. Currently when you try to access update.php file, Drupal shows default access denied page with info about how to edit settings.php file which I think is bit more... read more
Customise Webform Email Submission Data
In the webform-mail.tpl.php template, it outputs the main form data using: [submission:values] I am using the html format (using mime-mail) and this outputs to the email html in the form: <div><label>Name</label>Name value</div> Is there a way... read more
How to show list & thumbnail widget in plupload?
I have installed the following modules: FileField Sources Plupload, FileField Sources, Plupload module and added latest plupload library. While uploading multiple files it is showing only list of files but its not showing the widget for thumbnail & list view. So... read more
Update theme table using callback function in Ajax
I have two elements in my form: a select and a table element. Everytime onchange event is triggered on select element, I want to update the values in my table. I want to do query and change the values of ‘#rows’ in the table. function... read more
Why is my theme table row array not being displayed?
I have the below code and I know both the $headers and the $html have values stored in them as i can echo them out. I can also set the ‘header’ => in the theme function to be either $header or $html and it will display the data. However when I add in... read more
Using multiple AND/OR operators in contextual filters
I’m trying to query my nodes by using a contextual filter in views, however, I am unable to use multiple AND (+) operators and OR (-) operators at the same time. For example: This works: mysite.com/json/20 mysite.com/json/19+20 This does NOT work:... read more
alter Suggestion box for apache solr autosearch
I want to restrict the suggestions for Apache Solr Search with hook_apachesolr_suggestions_alter(&$suggestions, $env_id). I have gone through the code and found the suggestion is prompt from apachesolr_autocomplete_suggest_word_completion() called by a menu... read more