Sometimes we face the White Screen of Death(WSOD) without an error message. White Screen of Death happens due to several reasons. Some of the common WSOD that we face are while making changes in configuration or while running the security updates. If this happens while updating the module, the entire site might face WSOD. WSOD would even stop the bussiness of a site. So this is a major issue from the client /SEO perspective. If you want to fix the WSOD, you need to first identify the error. If you are facing a WSOD, then read on to know more about its causes.
Technical Blog
What webmasters can do for making their site visible to intended audience? Identifying effective ways for managing content using stories and pages on a Drupal site can really make your website stand out from others. Here are a few tips for Drupal webmasters who would like to make their website unique, valuable and reliable.
Suppose your Drupal projects handles products which can be shipped from one location to another and you are using Ubercart shipping quote' module to handle payment related to weight and shipping zones. Admin have the permission to add Zones rate and weight for each product, and the registered user's can buy the product. Here I am going to explain some of the test cases to be tested while testing this functionality.
In Drupal creating a custom theme and enabling the same enhance Drupal's core look and feel.
But the enhancement feel could be further brought by theming each views in the Drupal site.
Follow the theming steps to make changes in your Drupal content views.
In Drupal themes, the Typography styles are important. We know that there are many classes and different tags are generating while making a Drupal theme. And it will display with the default Drupal CSS styles. Sometimes it wont be matching with our design. So its necessery to make a CSS Typography for those tags/classes.
Here am explaing to override the the default Drupal styles with the Typography styles.
This article will be explaining how to add a scroll bar for a Drupal block.There are certain circumstances, where we need to add scroll bars with a block. If you come across this situation please go through the full article. I have faced a situation to add a scroll bar inside a Drupal block for displaying an article title along with content in a trimmed format. Drupal block already has options to display a number of items inside the block. But if we display all in a single block it will be a big block and is it was not our requirement. If we want to display a block with a particular height you can use the below ideas.
There are situations where we need organic groups membership entity ID. Some of situations are : we use the function og_membership_delete() when we want to remove programmatically a user or node or any group content from our group, which will require parameter that is organic groups membership entity ID. Also when come across og_membership_load() function to get the entire organic groups membership object, which will also require OG membership entity ID as parameter. So in these situations how can we get organic groups membership object membership entity ID. See the following function I have written to retrieve the organic groups membership object membership entity Id.
Have you ever felt the need to change the sorting order of a View?. The most common method to change the sorting order would be to edit the corresponding View template file. Now there is a more elegant solution for doing that instead of editing a view template file. Read on to know how to use Drupal hook_views_query_alter to change views sorting.
I had a requirement to tag a friends/fans page on the photo uploaded in user wall on Facebook from a Drupal site. I have created a custom module on that create a form to uplaod the image. On page submit, I post the image on facebook user wall and tag the facebook fan's page with the same. If we need to work with facebook, we need PHP SDK. Facebook SDK allows developers to access the Facebook api.
Suppose you have a Drupal website in which you can post comment. The users of the site are admin and registered users. Registered user have the permission to post comment in Facebook wall. And this comment will display in the Facebook wall of both admin and the user. Then the some of the case to be considered are as follows.
Suppose your drupal projects contains products to sell. And you can use a coupon code while purchasing some products. For using coupon code in your Drupal site, Ubercart Coupon code module should be installed. Please check the below cases which contains the test cases of checking coupon code validation functionality in Drupal website.
Suppose you have a Drupal website which supports multilingual sites with translated content and the user has the permission to choose the language. On selecting the language all the contents should be converted to the selected language. This article sheds light on how the testing of this feature comes to be. Read on to know how to test Drupal site with translatable content.
Specialized fonts beyond the typical “Arial, Geneva, Helvetica” can be embeded to your site by uploading Web Open Font Format file for the needed font in your site. Aesthetics is often very important for any website you design. If it isn't pleasing to the eyes, it will directly affect traffic. Fonts are a very important in aesthetics and readability. If you are not sure of how to add web fonts to your site then read on.
In order to add a new jQuery or multiple javaScript/CSS to the Drupal site, it is better to use hook_library rather than using drupal_add_css/drupal_add_js multiple times. It is helpful if we are using the javaScript/CSS in multiple pages.
Fullcalendar is a jQuery plugin which gives a full-sized calendar with drag-and-drop and with many other features. Events can be dragged on to the calendar and can be resized. It uses AJAX to dynamically load the events on the fly. In this article I will explain how to enable the fullcalendar with different options and loading events dynamically from the database.
We had an issue pointed out by one of our Drupal client that traffic from specific page to be redirected to another URL. In Drupal redirecting trafic from specific page on specific domains can be handle either by including a Drupal hook_init function or setting the .htaccess. Function hook_init runs at beginning of page request but it loads all Drupal modules and database for every page which results in performance issues. On the other hand .htaccess files are read on every page request and the effect to the changes in the .htaccess files is quick.
In the cases of multi-stage form it is necessary to add a Back button to the forms to navigate to the previous forms. By limiting the validation errors for a submit button, we can skip the form validation for that submit button.
Organic Group Module in Drupal allows to create and manage different groups. While creating a content, we can add that content to a group. The og_group() function allows to add a content to a group.
-->
In Drupal, drupal_commerce module can be integrated with authnet_arb module by which we can implement Auhorize.Net subscription or recurring billing. Before integration we have make some hack on the sandbox module to make it effectively work with drupal_commerce and bug free.
Authorize.net is a popular alternative to Paypal for eCommerce websites especially its recurring transaction product - Authorize.net ARB (Automated Recurring Billing). Drupal support for Authnet ARB is available through Ubercart but it is not available for Drupal_commerce. However there is a workaround to setup Authorizet.net ARB to work with Drupal commerce. Read on to know more.