Technical Solution
|
1
min read
The Apache Solr module integrates Drupal with the Apache Solr search platform. Solr search can be used as a replacement for core content search and boasts both extra features and better performance. The apachesolr module requires the external PHP library,"SolrPhpClient". If this is missing in your apachesolr module directory, it will show the following fatal error after installing or updating this module.
Drupal Technical
|
2
min read
In one of the Drupal projects I was working on, the site had a content type with a field image which had multiple number of values for that field. We were required to create a separate slide show for each content of this content type. Using the jQuery Cycle plugin, you can create the slide show quite easily. Read on to know more
Technical Solution
|
2
min read
One of our Drupal projects required the value of a text field to be changed according to the country selected in a particular select field. This is a common situation encountered by web developers when working on HTML. This can be easily achieved using jQuery. Read on to know more
Technical Solution
|
2
min read
I have a number of affiliate links in my page. The affiliate links are generated dynamically and so, I don't know the number of affiliate links generated in the current page. I had a requirement to open all affiliate links simultaneously upon clicking on a search all link in my page. Initially, I was not aware of the jQuery each function. So, I placed all the affiliate links in a particular div and used the size function to get the number of 'a' tags inside that div and used a 'for loop' to iterate through the 'a' tags and applied the behavior. However, after that I found there is an each function in jQuery, which can be used to itereate through all the elements with a particular identity.
Drupal Technical
|
2
min read
In one of my project I had a requirement to create an image in a particular image style in a specific folder, when uploading the image itself. In this article I will be explaining how to achieve this using the function image_style_create_derivative in drupal 7 to create an image in a particular image style. One another advantage of this function is that this will create the destination folder if it does not already exist.
Drupal Technical
|
3
min read
In a Drupal site, I was working on, I found that many of the modules were unused. Their presence was increasing the size of the site and consuming time when searching for useful info. So I thought of removing these modules.It makes our job a lot easier if we are using Drush Read on to know how to remove unused modules in a Drupal site with the help Drush.
Drupal Technical
|
4
min read
I have a few images in a folder on a Drupal site I was recently working on. The Drupal site also had a content type that contained a title and an image field and I had a requirement to create a node for each of these images. Read on to find out how to add a file to the image field of a node programmatically in Drupal 6.
Drupal Technical
|
2
min read
I have created a module for my Drupal project. That module requires a vocabulary that should be created when installing the module itself. To create the vocabularies, while installation itself we have to implement the code in the install hook. Read on to know the code to create a vocabulary named as 'Categories'.
Drupal Technical
|
3
min read
Sometimes we may want to find all unused contributed modules in our site to clean up and all. In that case instead of manually checking all the modules from the sites/all/modules folder we can take it from the database system table.
We may want to find these unused contributed modules list to physically remove them from the sites/all/modules folder. But before removing them we have to make sure that none of its sub modules are currently using. So in order to find out the unused modules list we can do the following three steps.