Nowadays we can easily access internet in different devices such as mobile, tablet etc. So its necessary to make a website compatible with popular devices like iPhone, iPad etc. In Drupal, we have a simple method to make a website adapt to different devices. In this method we can convert a normal theme to responsive theme easily. To get this we have to modify the .info file and add the media query stylesheets in .info file. We will also have to add the responsive style rules to the separate media query stylesheets
Articles
As a drupal developer, there were times when I was stuck at some point. At these times, 'devel' module came to my rescue. There are many debugging functions provided by devel. Those are dpm, dpr, dvm, dvr etc. Here, I am going to explain 'dpr()' provided by devel module.
Just as for File Upload fields, Image Upload fields are equally prone to hack attempts. They also have additional functionality to do post-upload, such as passing the image through various image processing filters / presets. While testing Image Upload Fields, you have to take into consideration all these points. Here are some test cases to help you test image upload fields on a Drupal site:
Drupal 8 will be released probably by Dec 2013 or so and when that happens maintenance of Durpal 6 will be stopped. Contributed modules for Drupal will probably take a while more before they have Drupal 8 versions. Until popular contributed modules have stable Drupal 8 versions it would probably be safer to start small projects using Drupal 7.
One of our Drupal clients had reported that the emails from the Google Apps mail accounts on their Drupal site were going into the spam folder of the recipients inbox. When we analyzed the situation we noticed that the SPF records for the domain were not set correctly. Read on to know how to add a SPF record through WHM to prevent mails from of your domain from going to the spam folder.
Check out how to define the levels of priority in software testing, explanation with examples.
We were requested by a client to post the published content automatically on Facebook wall. For publishing a content from our Drupal site to Facebook wall, need to create a Facebook app .If you want to know how to post a published content to Facebook wall in Drupal 7 then continue reading.
Social media sites like twitter and facebook are key tools in reaching out to large audiences almost real time. The key part about using these systems is their ability to broadcast real time news and updates. Tweeting content from a Drupal site as soon as a node / content is posted on the site is a good way to use Twitter. If you want to know how to post a published content on twitter in Drupal 7 then continue reading
In a Wordpress we can assign categories to each post and have listing of posts in each categories. Sometimes we need to list the contents of a particular category as the home page. In Wordpress we can make a static page as the home page under the settings tab, i.e. Settings » Reading settings. There you can make a static page as home page but not the contents in a category.
Using Ubercart and the Drupal Rules modules, it is possible to alter the behavior of the Ubercart checkout process. We had came across a situation on one of our Drupal sites where we needed to add an additional feature during the checkout process. If you are faced with a similar scenario in your Drupal site with Ubercart then read on know how to create a custom Rule condition for the Ubercart module?
Drupal 6 will be maintained till the release of Drupal 8. Drupal 8 release is expected to happen towards the end of 2013. The current stable branch Drupal 7 will be maintained till the release of Drupal 9 (probably 2015). If you are running a production site on Drupal 6 then you will probably have to start looking at upgrading the site by the end of this year.
Upgrading Drupal 6 to Drupal 7 is supposed to be a straightforward process but there are certain things you have to be careful about when you upgrade Drupal. The following list outlines the different steps you will have to follow to upgrade your non-mission-critical small Drupal site.
It is very good if we can create a pure CSS multilevel drop-down menu in Drupal. We can simply avoid adding additional modules or jQuery for the multilevel drop-down menus. As we had a requirement to create a multilevel drop-down menu without using jQuery, we created it in pure css. And it works well in different browsers.
We created this menu as main menu for the header navigation part. And there is a region for the header part called "region-header" and it wrapped in a class called .header-wrapper. Also Drupal provides a class called 'menu' for ul. So we had to define the class-name along with the ul.
When focusuing on Drupal website development, user roles and permissions are an important way of controlling access to the site. This is more so important when there are multiple individuals besides the website owner who administers the site. Other people can be assigned certain 'roles' which define the kind of access that is to be granted. Basically in Drupal, the Site maintainer and Administrator roles are given all the available permissions and Drupal Administrator role receives all permissions throughout the lifespan of the site. This is not the case for other 'roles', where access within admin permissions and time limits only are granted to users linked to those roles.
We might encounter a situation where we may need to fetch CCK fields values in a node, i.e, we may need to show CCK field values in custom search results. Drupal provides a easy way to fetch CCK fields programmatically. Read on to know how to fetch CCK fields value programmatically
A contact form is included with websites mainly to allow users to communicate with the site administrator, share their feedback/messages regarding the website or reaching out to the business owner of the site for services/support. In this article, I have covered a set of test cases that can be used to test the Drupal site contact form.reach
The most awaited tablet is here!
Introducing
With a stunning 7-inch display, NVIDIA Quad-core processor and all day battery life, Nexus 7 is the perfect companion for people on the go.
You might ponder as to why test a link, or even include it as a test case when there are several other major functionalities to be tested in a Drupal website. Every site, be it Drupal or non-Drupal, contains numerous links, some of which lead to external sites and some that whirl within the site. The 'web' works extensively through links, and it is through links that sites are navigated to and get found. Links are also the underlying indicators for security of a site. So links should be paid attention to and be tested thoroughly. Here are some test cases to help you get started:
If you use git as the version control system for your software projects be it Drupal or non-Drupal projects then there is a very good chance for you to have tried deleting branches locally. It is not very often that you have to delete branches from the remote repository. However when people delete branches from remote repositories these branches would still show up in local repositories of the developers. Here is how you handle this.
Did you face a situation where you wished that you could edit JavaScript live on the browser to make experimental changes in your code? Have you ever made modifications in JavaScript code without rewriting the file and reloading the web page to see the changes in real-time. Read on to know how to edit JavaScript code in your browser and see the changes in real-time?