Drupal 8, with its 200 new features and improvements, is sure to win hearts. The latest version of Drupal offers you absolute ease of use, with customizable data structures, listings, and pages, and capabilities to display data on mobile devices, building APIs, and adapting to multilingual requirements.
In a recent project, I had to make use of pagers in two views. As per the requirement, I had to display different numbers of contents per page for both views. For the first view, I had to display 2 items per page and for the second one(search-results view) 10 per page.The problem I faced was, Eventhough if I had less than 10 search results, the page displayed the pager-links as per the contents of the first view. ie, both the views showed same number of pagers, which was wrong. If you want to know, how I fixed this, please read on.
Drupal is a very good technology but at the same time there is a steep learning curve for Drupal. This learning curve limits the number of readily available Drupal developers in the market. Finding capable developers from this limited pool is an even bigger challenge.
When you set out to build a website for your company there are a lot of aspects that you should be considering while deciding on the technology decisions. Based on these different aspects and based on how you prioritize between them the technology decisions that you take would vary. Going for a Content Management System is a no brainer if you wish to manage the content on your site. Both Drupal and Wordpress are good choices for building your new company website. However there are differences between them and this is an attempt to help you make a decision on this.
If you are an organization trying to set up a new website or if you are planning to upgrade your static website to a dynamic website here are some key reasons why Drupal is a good solution for you to bank on.
Global Redirect is a functional module which ensures the correct redirection of users to the alias of a given drupal path, thus avoiding duplicated content from multiple URLs. This is very important for SEO because otherwise search engines will see the same content at the Drupal path as well as at its alias causing it to believe that the site is duplicating content at two different URLs
There wouldn't be any Drupal site that doesn't have forms on it - Drupal being a CMS, forms have always been an integral part of every Drupal version from start. Forms provide an easy interface to the website users to input information to the site.
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:
In a Drupal site, 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.
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 site. 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:
Triggers and Events are very important concept in the Drupal world. If you want to get your hands dirty tweaking Drupal or dive into Drupal development or simply configure a Drupal website properly you need to be familiar with the Drupal Actions and Triggers. If you want to know more about Drupal Triggers and Actions then read on to find out.
Many a times, IE7 stands out from the group of modern web-browsers owing to its notorious incompatibility with many a standard HTML/CSS/JS. In this article, we are seeing the following case of incompatibility: CSS border for Select (Drop down) element does not work.
Many a times, IE7 stands out from the group of modern web-browsers owing to its notorious incompatibility with many a standard HTML/CSS/JS. In this article, we are seeing the following case of incompatibility: In IE7, the CSS 'border-collapse' does not override cell spacing related tags.
If you need to deliver a custom tailored home page to a user visiting your Drupal website based on their actual physical location you need to need to match their ip addresses with their actual physical location. There are many third party services that provide this functionality and you need to use the API key provided by them in your Drupal application. If you need to know how to get IP address and Country code from an API key to be used in your Drupal application then read on to know more.
As a Drupal developer you might have come across a Drupal multisite installation in which the different sites were connected through symlinks. As a developer you often need to create a local installation of a live Drupal project to make the required changes before pushing it to the live version of a site. If you are facing the same situation in your Drupal site and would like to know how to create a local installation of a Drupal multisite project connected through symlinks then continue reading to know more.
File upload fields are one of the most vulnerable elements in a Drupal form, highly prone to hack attempts. So these have to undergo thorough rounds of testing to make sure the data that goes in is perfectly safe.
One of our Drupal sites we had worked on required us to implement region based content filtering and it was to be done through a value stored in a session. The Drupal site was also using Boost to enable static page caching. Boost stores pages as HTML files inside a cache folder and each page is served from the cache for anonymous users.
We were requested by a client to create and integrate a Facebook Application on their Drupal site which would post the published content automatically on Facebook. For publishing a content from our Drupal site to Facebook Wall, we need to create a Facebook App. If you want to know how to create a Facebook App for posting published content on a Drupal site on Facebook Wall, then continue reading.
On one of the Drupal projects we had recently worked on, the client wanted us track the last active tab. We had used the Drupal Quicktab module to create the tabs. However we noticed that the quicktab cookie used to track the last active tab is not persisting after closing and reopening the browser. If you are facing the same scenario in your Drupal site and want to know the solution then continue reading.