I had a requirement to post an image on a Facebook user's timeline from our Drupal website. In submitting a Drupal form, I had to post an image on Facebook. We implemented this feature using the Facebook SDK for PHP and Drupal. Read on to know how to upload a photo to a user's timeline in Facebook from a Drupal website?
Technical Blog
If you are a web developer then in some point of time some client may have asked you to develop sites one for desktop and one for mobile, (probably in iPhone) with almost same contents. If you meet that client again after 2 or 3 years he will ask you to develop more than 5 sites to view it in different popular devices. I don't think it is a good solution to have bespoke designs for each device, since our device landscape is rapidly progressing. So we developers should start thinking radically to meet with this issue.
One of our Drupal clients wanted to make the current image of the slideshow in a page as the background of other pages. It is possible to achieve this effect using a combination of jQuery and Ajax. Read on to know how to make the current image of slideshow in a page as the background of related pages in a Drupal site.
Suppose you have to display the thumbnail image of each video uploaded in a content and while clicking on the thumbnail the corresponding video should be loaded in the page. This can be done by embedding the video in page and implementing jquery function to load video.If you are not sure how to display the thumbnail images of the videos uploaded from vimeo/youtube in Drupal then read on.
In Drupal, Heirarchical select list simply means the select list has child and parent terms in Select lists. Getting a search field inside a Drupal view is quite easy but how can we get a hierarchical select list inside the 'Filter criteria'? Read on to know how to get hierarchical select list inside a View in Drupal 7
We need to develop websites which are capable of handling YouTube video.This feature can be implemented using media YouTube module. Read on to know to add YouTube capability to a content type in a Drupal website.
Drupal drush will work with php version 5.3 or greater. Is some situation default installed version may be less than 5.3. Read on to know how make drush work on PHP CLI versions less than 5.3
Forms can be considered as an integral part of websites. Forms can be included to a Drupal website using Form API. Form API is so extendable that we can customize almost all of the form API elements. In this article I will be explaining 'how to increase the "coolness" of your form elements by adding "spinner" style.
The Node Gallery module is one of the best options available to create multimedia galleries where both the galleries and the gallery items are nodes. The latest module version for drupal 6.x is 3.2. If you are trying to update the module from 2.0 to 3.2 you will find some issue with the cover photo of galleries. The cover photos won't come up after the update. Read on to know how solve the issue after the Node Gallery update
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.
In Drupal we use the global path variables for specific reasons.
If in any case there is a change in your site url you just have to update the general configuration page and by doing so every link in your site would be automatically updated. Using the path variable is also less prone to errors.Read on to know how to use the global path variable in Drupal
@font-your-face module helps us to manage web fonts in all popular browsers and it provides the user interface for applying web fonts. If you want to know "How to configure a @font-your-face module in drupal 7" then continue reading
Service links in commerce kickstart refers to facebook/gplus/twitter icons in the node page. These links help us to like/recommend/tweet specific page of our site respectively.In a recent project, I got a chance to work with Dupal commerce kickstart. One of the requirements I had to fullfil was to remove the twitter icon form the product's node page. Eventhough I searched everywhere in the net, I was unable to find a solution. If you wanna know how I nailed it, you may read on.
Drupal provides a Shipping module that comes into use when you have a store and you want to ship your products to another location.
Ubercart has a flexible module that provides custom shipping quotes based on configurable weight ranges and custom shipping zones.
For this all you have to do is to download and install the uc_global_quote module.
Steps:
Step 1: Download the uc_global_quote module from drupal.org on to the sites/modules folder.
Step 2: For configuring the module go to /admin/modules and enable shipping, shipping qoutes and flat rate modules.
Version control system is used to track the history of the files. Also we can revert the files to another version. Version control system will increase the potential of parallel and distributed work , ie it will track time , merge changes and manage the history of changes in the file.If you are a Drupal developer you might find Git a useful tool. Here a few commands that are to be familiar by a Drupal developer
If we are using kaltura field in a content type in a Drupal website, the video uploaded using this kaltura field will be displayed automatically in corresponding node page. One of our Drupal client had a requirement that, on clicking a button, load a popup window and play kaltura video in that popup. Read on to know how to embed a Kaltura video programmatically in a popup in a Drupal 7 website
In this article will be explaining how to get feeds from a site programmatically into a Drupal site by passing its site url. The advantage of this, is that we could get multiple feeds at a time by passing their url. You can also refer previous article How to create Quick Tab Programmatically?, so that you can display the feeds in custom blocks.
Highcharts is a charting library written in pure HTML5/JavaScript. Without generating an image we can display a graph using the library. I have a requirement to generate a graph on one of my Drupal projects. In my situation, I have to generate a graph depend on user filtered data. So I choose javascript to generate graphs, it will increase the performance also. Otherw ise, it will increase the server load (if I generate a graph as an image.). Read on to know how to integrate Highcharts in Drupal
Drupal is an extremely flexible framework that you can manipulate in multiple ways. In Drupal, the theming is the final phase in the process of generation of dynamic web pages. It converts the data from PHP objects and arrays into HTML markup and CSS styles. Read on to know how to convert a PSD/HTML design to a standard Drupal theme
Consider a case where you want to enter regular expression and validate it. Here I will show you how to write a validation function. For example consider YOURMODULE_admin_settings_validate function
In my example I am using a form and a submit button.From $form_state array you can get the input value after submit. You need this value to match with the string. See the code below.