Mumbai once again played host to DrupalCamp Mumbai 2015 (DCM 2015), the premier networking event for the Drupal community in India. DrupalCamps have always been a significant part of the Drupal Community ecosystem.
I faced a problem to create a taxonomy vocabulary term when my custom module was enabled. To save a vocabulary we just need a Taxonomy vocabulary save. But here I had to enable it whenever my module is enabled. So I checked out and found this method to add a new taxanomy vocabulary.
In Drupal, some modules add tabs to pages and these tabs(Primary tabs) are shown in the top of each page for authenticated users. Some of these tabs are not needed for some roles. There are cases where we want to hide such tabs like, Bookmarks, File browser, Orders etc., from primary tabs for roles other than administrator. We can remove these undesired tabs from primary tabs programmatically.
This article explains how to programmatically, save custom additions to the user object when a new user account is created in Drupal. We can understand this with an example. Say, we want to create a default album with every newly created user, then we can use the following to save the custom additions. Similarly any of your additions can be done after referring the following.
This is an article about how you can create a custom color switching theme with the help of Drupal 7 color module. Color module is a Drupal core module comes with Drupal and you can use this module to colorize your theme. Garland is a Drupal theme which uses color module to colorize its various content. If you want to know more about how to create a colorized theme by using Drupal 7 color module read on.
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.
Valentine's Day is round the corner, and if you are wondering what is the perfect gift for your loved one, wait a minute. Take a break from those chocolates, roses, or cards. Why not celebrate this year's Valentine's Day by donating blood?
Consider that there is more than one vocabularies in your drupal website and we have to list them with the respective contents. Consider the situation where you have to list only the content of a particular vocabulary and not all the vocabularies. If you want to list the contents of a particular vocabulary then you can use the following code for doing that.
In Drupal I have faced a problem while using . Some jQuery functions are available only in some versions. For example thejQuery pluginsre is jQuery function on It is added in the version 1.7 of jQuery only. So while adding this function to my site I have faced the problem with the plugin because the version of jQuery available in my site was 1.5.
Comment module in Drupal makes it possible for users to comment on the nodes we create. And also the users get a chance to discuss on the topic as well. In this article I try to demonstrate how the comments for a node can be wrapped inside a fieldset. Isn't it a good choice? If you haven't done it, now will be a good time to do so.
CSV (Comma Seperated Value) a type of file format generally used in some popular websites like google to save the contacts in a comma seperated values. CSV is also called as a character seperated values. Its a normal file type as like doc, pdf etc. In this file format the values are stored by seperating every sentences with some characters. The most used character to seperate the values is comma so it is used to called as comma seperated values rather than the character seperated values. So lets have a quick look on how to read the csv format files.
Hey guys my requirement is to create a view attached with a map(highlight the map with the results) for that you have to enabling Location, GMap, views module.
The Stupeflix is an webservice to create and process videos using photos, audio and Upload videose. To upload videos to youtube using Stupeflix API we need to do the following steps
Drupal 7 Views provides an option to add php to the Views footer in a View page. The option is called Global PHP. It allows you to add PHP code to views, to modify its output without adding code in a separate php file. However this option shoud be used with caution as a php error here can bring down the whole site and it would be difficult to detect. There is an alternative though. Read on to know how to add an SQL query to the global footer in Views without directly placing the PHP code in a view.
Zyxware Technologies is all set to take part in DrupalSouth 2015 to be held from 5-7 March 2015 at the Melbourne Convention & Exhibition Centre(MCEC) in Melbourne, Australia. Mr. Anoop John, Founder and Managing Director, Zyxware Technologies, and Mr. Babilo Augustine, Director, Zyxware Australia, would represent the company at the event.
We had a requirement by one of our Drupal client of configuring IMCE to CKeditor instead of ckfinder. I have faced the following issues after changing the file browser type as IMCE in CKeditor.
I have a vocabulary in my drupal project and I want to make the vocabulary as a single select in one of my content types. I can do it in the form_alter. But to select the vocabulary item in the form_alter, I need its vocabulary-id. I dont want to hard code vocabulary-id in my code, so I searched for a drupal core function to get the vocabulary id from its name. In drupal 7 there is a function to get the entire vocabulary object from its machine name. But in drupal 6 there is no core function to get vocabulary id from its name. So I created a custom function to get the vocabulary id from its name. See the following function I programmed, to get the vocabulary id from its name.
Sometimes working on Drupal Views is very intimidating as this a very complex module
serving a variety of needs. No wonder it is one of top Drupal modules. Once I had a particularly
difficult time trying to figure out how to get a relationship right in Views by trying to get the user
name from the users table using a userid from a field in my custom table. However I managed to
figure out the soution by reading the query generated by Views. Read on to know how to add a relationship
between a custom table and Users table in Views below
We have a Drupal 7 website, which is using an old version of jquery by default.But we need to write a custom module which uses some features only present in latest jquery.
I had a requirement in one of my Drupal site in which I want to import content from an external XML file generated from another website.
The XML generated as a URL say For ex: http://example.com/feed.xml, I want to fetch the XML every time from the above generated URL. Follow the below steps to fetch the XML from URL's: