In this section we are going to add social media icons with the description to the respective icons in Drupal. Before starting we need to upload and install any responsive theme(I used CoperateClean theme). We will implement this social media icon by creating a block in Drupal configurations and then setting up the cascading style for that block.
Technical Blog
Meta tags are used for page description, ever wondered on how to add meta tags for the custom pages in Drupal 7. Using hook_html_head_alter() or using hook_preprocess_html() we could add Meta tags and title.
It is very simply to exclude single nodes using views. But In this section we are going to exclude multiple nodes using Views. Only thing you need to have is contributed module "Views".
One of our Drupal client had a requirement of responsive carousel. It should have swipe functionality in mobile, So I figured out a nice jquery plugin to solve all these requirements "Timelinejs"
If you want to display some custom text related to an entity (which are not part of the entities fields. Eg. Calculated sum based on some values of the fields) in your apache solr search result, you can do it in two simple steps.
Facebook OAuth module helps to extract data from user's Facebook account details and map that user's Drupal account during registration. The user details will be extracted directly from the Facebook account details and user can define the custom field types to be extracted with validations. Validations means the mandatory field info's that should be present in the Facebook account details before extract using the FBoauth API.
In one of the Drupal sites were working on, the members of the site frequently found that the nodes they had created were crashing. They would enter content into the node fields and try to save the node. The node would appear to save with apparently no error message. They found that it was not accessible at all afterwards. This wasn't occurring for everyone. We checked the dblog and we saw that the users were getting the error PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value:. Read on to know how we solved this issue.
A number of Drupal users using the Drupal Organic Gropus module reported that they could not see groups that they belong to and also the groups the administrator belonged to. If you are facing the same issue with Drupal Organic Groups in your Drupal site then read on to find out the fix.
Views Bulk Operation module is helpful in the cases where we need to perform a particular operation for more than one row in a view. Some of the operations includes deleting multiple contents, publishing/un-publishing contents, change the author of the content, send email etc. In one of our Drupal project I need to perform a action to add a single field for all rows. Drupal provides a hook to declare the required operations and handle extra changes to the bulk operations settings.
This article is on how to add images to Amazon S3 in a drupal site(D7) via code. For this, download drupal module Amazon S3 (https://www.drupal.org/project/amazon_s3). The purpose of this module is to get the s3.inc file (the file which define all s3 functions defined in Amazon)
Entities are very important thing in Drupal. Entity type is connected with lot of tables in data type. i.e entity is a object oriented concept. Entities are used to show thw relation ship with different field tables. An entity is a container for bundles. Entities can contain multiple bundles. Examples of an entity are Node, User, File, Taxonomy term, Taxonomy vocabulary.
A Hello Bar is a simple advertisement bar which provides a notification on the corresponding region in the page and to redirect to other pages. The main advantage of using Hello Bar in Drupal websites is to set and increase traffics for specific pages in your sites.
In this article I like to explain how to create a pdf document in Drupal. We will be using a PHP library called TCPDF. TCPDF is the only PHP free and open source library which comprise full support for right-to-left languages, also includes bidirectional algorithm and UTF-8.
Some alignment issues occurring in IE may be a test for your patience. We had once worked in a Drupal 6 site, and the design look well every where, but there is a small alignment problem shown up in IE. Applying a conditional style sheet saved our time. Read on to know about how to apply conditional css in a Drupal 6 site.
SimpleAds module allows advertisement in Drupal websites. I had a requirement in one of my Drupal sites to add advertisements in the site contents area. I came across a Drupal module- SImpleAds which helped me to solve the fix and the below the details on the configurations to done to use SimpleAds module
In Drupal you can attach a js file in different ways. First by adding it to your theme's info file. Adding js to your theme's info file to call the js files in all pages.
We wanted to get the value of a field in a users profile in a Drupal site when they become a subscriber (when they got the subscriber role). Since we are very familiar with Drupal we intuitively searched for a hook that we would serve our purpose. Read on to know how to get the data of a user when the user has updated their profile
There are certain cases we need to alter a webform in Drupal. How to handle this condition ? There are different methods for handling this situation. Usually for the theming sometime webform alter is very necessary, the main alteration needed are to add html tags. Here i am trying to explain how to alter the webform fields in Drupal.
Bootstrap twitter is includes a responsive, mobile or tablet first fluid grid system that ... it is styling on small and medium devices but also on large devices if a .col-lg-* class is not present. My company has a lot of free Drupal themes developed. But there is a problem i.e these are not responsive. So we started to change this themes in responsive and For that we suggest the new bootstrap framework for responsive. We success fully converted the plane html code in to bootstrap grid format.
In this section we are going to add social media icons to the responsive theme in Drupal. Before starting we need to upload and install any responsive theme(I used CoperateClean theme of Drupal). We will implement this social media icons by creating a block in Drupal and then setting up the cascading style for that block. Below are the simple steps to add a social media icons:
Step1: Create a block