FSF-CiviCRM is a popular Customer Relationship Management (CRM) system. The first step in getting started is understanding the CiviCRM codebase. For better understanding, please download CiviCRM zip file from https://civicrm.org/download and install.
Drupal Technical
[Drupal] How to update an existing user's profile data programmatically using user_save() in drupal?
User profile plays a significant role in identifying and categorizing users based on their characteristics or preferences, planning specific features, influences navigation, and the way interaction happens in the system.Today, almost everyone creates a profile in jobsites or social media websites. Frequent updation of a user's profile data is extremely important. In this article, we will see how can we update an existing user's profile data. Below is the code snippet that is used to update user's profile data.
Sugar CRM is a web application used for customer relationship management. Checkout our article on How to integrate Drupal with SugarCRM.Now, let's see how to push the data from Drupal to SugarCRM
Theming with Drupal is extremely simple. You can build a simple theme from scratch. When you are developing a new theme, you have to follow certain methods i.e. creating a .info file and template files. If you want to create a custom Drupal 7 theme for your site, read the following tips.
Opacity is the CSS property that allows image transparency. All modern browsers support CSS opacity. However, if you want it to function in the older versions of browsers, some cross browser tricks are required. Follow these CSS rules to enable cross browser compatible opacity settings for your HTML elements
One of the requirements of the client was to play video in the pop-up window instead of playing it in Iframe. We accomplished this by adding overlay div over Iframe, which would suppress the ability of Iframe to play video. Read on to know how we did it.
In a drupal website, it is easy to add the font styles provided by drupal itself. If the user wants to add a font which is not present in the drupal site by default, the process given below can be followed. Read on to know more.
Defect density could be defined as the value of the total defects which are known to the size of the software product calculated. i.e. Defect Density= Total defects/Size
For better understanding, consider the following example.
Internet is overhauling every piece of human life. As the resulting phenomenon of booming telecommunications market, around 60% of people access sites through smartphones, tablets etc. Why say this? How web developers are related to telecommunications booming? We might have seen some sites look good in few devices and not in others. As all these devices have a different display, here comes the relevance of discussing responsive designs. The advantage of responsive designs includes,
1. It will simultaneously adjust its width with the device.
Zyxware Technologies Pvt. Ltd. is delighted to share the news that it has successfully completed the Free software migration endeavour it had taken up at the Kerala State Legislative Assembly. The Kerala Legislative Assembly (Niyamasabha) as of July 17, 2014 produces all its documentation, both printed and digital, on a Free Software platform based on Ubuntu Linux.
I was deep stuck in a Requirement Analysis, when one of my colleagues came to me asking about a feature in Apache Solr search. You may be wondering why she came to me, Trust me that was the exact thought I had at that time. Well, then I realized that the reason she came to me was because I had previously built a website using the Apache solr search with the help of Facet API. While doing that project I had thought of documenting some of the tasks which I had done, but couldn't do so.
One of our clients was trying to upload a pdf file on a node page in their Drupal website. The file was more than 25 MB in size and Drupal was not allowing them to upload the file as it had crossed the max file upload limit and they needed this to be done very quickly. As we were in charge they requested to come up with an easy way to do that. If you want to now the easiest way to set the max file upload size in a Drupal site read on to know more.
In Drupal, while adding a menu item, we can give it a title, description, path and such details. It is not possible to give images for these menu items at the time of creation, by default. If you are looking for a solution, then read on.
This particular task can be achieved by overriding the theme function theme_menu_item_link() in our theme's template.php
Use the below function in your template.php :
There may arise situations when you would want to display the contents of a block inside a template file or along with any other output variables. module_invoke() function can be used for this purpose.
The module_invoke() is a function to invoke a hook in Drupal. The syntax for module_invoke is different for Drupal 6 and Drupal 7.
Forgetting a password is a usual scenario. The first thing that may come to your mind when you forget the password of your site is resetting it. If it is a live site, then we can ask to send a new password by mail. But what is if it is your local site where no mails are configured? well, I know a trick or two to solve this programatically. If you too want to know, then read on.
Step 1 : Create a new file and copy the below script in that.
Fusion is a base theme, with different layout and Drupal UI configuration. This theme includes a "starter" subtheme for CSS theming. If you are also looking to start a subtheme using fusion base theme, continue reading...
Tagging a content properly will definitely cause your website's contents to come up properly in search results. Tagging can be done manually and automatically. If you are using a Drupal6 site and you want to tag your contents automatically, I know exactly what you need. For that I would prefer you read on.
Our goal is to tag the contents automatically for which we require the following modules :
Taxonomy allows to categorize content in a drupal website. The basic elements of the Taxonomy module are
Terms
Terms are used to describe content.
Vocabularies
Vocabularies are a collection of terms.
Multiple database access in a site can create overheads. There is a chance of this being adversely affecting the site performance if the size of the website is considerably large.
Consider a function that returns the details of a new product. And if we call this function in different regions of a page, the query will be executed for each function call. ie, multiple database requests are made for the same result.
I was working on a project where the requirement was to display slideshow in a page.Slideshow was created using views_slideshow module with fields as content type field holding image. After all the images were rendered using slideshow a blank image was being displayed before the next transition of slideshow.Here we encountered a problem of unwanted blank image being displayed if you are also facing the same issue then read on to know how to solve this.