Drupal 7

Zyxware default image4
| 2 min read
Consider you are creating a drupal website with multiple languages. We don't have to create two different sites for that. This can be achieved in the same site by using a module. In drupal for adding translations to the site we can use the Entity Translation Module. If we want to translate the title and other such fields to some other language then we can use the Title module. The different steps that has to be followed to add translation to Drupal 7 site using translation module are listed below.
Zyxware default image3
| 4 min read
A landing page refers to a particular web page that a visitor usually reaches upon clicking a link or an online advertisement. This page usually displays information that is directly related to the keywords that has a user has searched for, or the has the relevant keywords directly on the page. Landing pages are basically conversion tools i.e. the primary objective of a landing page is to turn a visitor into a lead.
Zyxware default image4
| 4 min read
In your Drupal website consider that you have created a block using views to display some content.Consider a situation where there is no content in the view.In normal situation if there is no content to be displayed, an empty block will be displayed which will be very odd for a website.So in this article I am mentioning so configuration changes that need to be done so that the block wont be displayed when there is no content.
Zyxware default image4
| 3 min read
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.
Zyxware default image1
| 5 min read
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.
Zyxware default image1
| 3 min read
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.
Zyxware default image1
| 2 min read
While working on a report generating system, I wanted to display footer value that should reflect based on the date filter, added in the report. I thought of creating a block in the content region and manage the contents in the block. But when I went to know about header and footer options in views module, I decided to go for it. This article is on how to use header or footer in views pages.
Zyxware default image4
| 5 min read
Drupal Commerce is a software used for integrating commerce, content and community to create engaging web experiences that bring e-retailers more traffic for more results. With Drupal Commerce, online retailers have a simple yet powerful platform and flexibility to integrate a rich commerce experience anywhere within their environment.
Zyxware default image4
| 6 min read
Drupal, up until now a PAC (Presentation Abstraction Control) architecture, has taken a step closer to MVC (Model View Controller) architecture. Although nowhere have they mentioned about MVC, the new Drupal 8 is strictly object oriented. Another feature in Drupal 8, that is different from the existing versions of Drupal is that it is not entirely Drupal. Drupal 8 uses many components in symfony like it's ClassLoader, YAML file structure, twig and so on. For a detailed description please visit the Drupal 8 home page.
Zyxware default image3
| 9 min read
After the launch of Drupal 8, there is now an incessant need for converting existing Drupal 7 modules to Drupal 8 compatible versions. Due to the substantial changes in Drupal 8 from its previous versions, developers find it hard and time consuming to migrate from D7 to D8. This is mainly because Drupal 8 is object oriented and much closer to an MVC (Model View Controller) architecture, Drupal is no longer a PAC (Presentation Abstraction Control) architecture framework, Drupal follows the PSR-4 folder structure in compatible with symfony component which Drupal 8 uses.
Zyxware default image1
| 2 min read
By default in drupal if we click on any taxonomy term, it will execute the taxonomy/term/% menu. We can change this default taxonomy/term/% menu path to a custom menu path. In one of my project I had a requirement to execute a custom function for my vocabulary in stead of executing the taxonomy/term/% menu and I had found a solution for this. The following are the steps to be done.
Zyxware default image1
| 3 min read
Getting search fields inside a view is easy that is adding a field in 'Filter :Criteria' and exposing it, so we get the search field and now you can search based on that field.And when we require more than one field to be searched we need to include it by adding the fields in 'Filter Criteria' and exposing it , which looks weird when we have 3 fields in a single search form.So what if we have an option to make it a single field say we have to search the contents based on 3 fields with a single search field.Isn't that interesting?Here comes the use of 'Finder' module which is safe and sound.