Drupal Technical

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 image2
| 3 min read
Debugging is a process of finding and reducing the number of bugs. In the web applications development we used to work mostly on the development site at first and debug the errors then we will go for the live site to just push the modifications which we made in the development site. In such cases there may be a chance of error occurrence in the live site even if we come up from the development site. Then we have to handle the debugging process in the live site at that point of time. In the development site process we can do the debugging process easily, there is no need to worry about the customers since because it is not viewable to the customers. But when it comes to the live site we have to consider about the customers who visit the site.
Zyxware default image3
| 3 min read
Drupal 6 will not allow you to create multiple access callbacks for a menu. In hook menu, the access callback will accept only string value, not an array. But I had a requirement in my project to add a custom access callback without removing the existing access callback. My custom access callback should be executed first. After that if some condition satisfies in my custom function the original access callback should get executed.
Zyxware default image4
| 3 min read
In one of my drupal projects, I had a requirement to open some search result page in a new tab. I had given '#' as a place holder for the href attribute of the search link that needs to execute a javascript function on click to open the search result page on new tabs. I have added necessary code on the click event of this link to open the search results in new tabs and it was working properly. But when I click on this search link the current tab will go to the top of the page, since the '#' attribute will redirect to the top of the page.
Fix Certbot Auto-Renew Error in Ubuntu
| 2 min read
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.
Zyxware default image4
| 4 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 image3
| 3 min read
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.
Fix Certbot Auto-Renew Error in Ubuntu
| 3 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 image2
| 5 min read
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.
Fix Certbot Auto-Renew Error in Ubuntu
| 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 image4
| 4 min read
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.