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
In Drupal we use the global path variables for specific reasons.
@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.
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.
The performance of a site should be tested in order to ensure how fast and reliable a site is. In this article I will be covering the steps to be followed for carrying out some of these performance tests. The topics being 'testing the GZipped Content Delivery', 'Whether FTP is enabled on Server', 'MySQL Remote Access on Server' and 'Password Based SSH Access on Server'.
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.
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.
We encountered a situation when developing a Drupal site where our client website had been recently migrated to a new server. We had been using git as our version control system for almost all of our Drupal projects and this one was no exception. Now the new server did not have git installed and we needed one very quickly. So instead of requesting a support ticket and waiting for a response we decided to install git manually. Read on to know how to compile and install git on a live server.
Customer relationship management is a model for managing a company’s interactions with customers. Sugar CRM is one of the largest open source CRM available. Drupal can be integrated with Sugar CRM using SugaronDrupal module. Read on to know how to pass the value of a field related to a field in another module in Sugar CRM while working with Drupal.
We had recently conducted a session on Drupal at FOSSMeet 2014 at NIT, Calicut. The session was on introducing Drupal as a Rapid Application Development (RAD) Framework for Startups. The session was aimed at young entrepreneurs who are looking to take their next big idea online. The following presentation was used for the workshop.
What do you do if you have to take your Drupal site into maintenance mode from the command line? Well you can do this easily if you have drush set up on your server. With drush you can do quite a lot powerful drupal administration tasks right from the command line.
Zyxware is conducting a Drupal training session on 15th of February 2014 as part of FOSSMeet 2014. FOFSSMeet is the premier annual Free Software event in Kerala hosted by National Institute of Technology Calicut (Kozhikode). The session will be held at CSED Seminar Hall. You can register for the workshop at http://fossmeet.in/2014/
We are happy to announce that we will be conducting a Drupal bugathon at our office at Sasthamangalam, Trivandrum on the 1st of February 2014. If you are a Drupal developer and you would like to get some guidance on how to contribute to Drupal you are welcome to join us. Bring your own laptops for the session.
On one of our recent Drupal projects we came across an issue where the file browse button was not triggering the file selection dialog in IE10 in Windows 8. The problem was diagnosed to be the result of jquery not getting the click event from the button. The site was using jquery 1.44 and this problem is supposed to be fixed in later versions of jquery.
Zyxware conducted a 3 day workshop on Drupal at IIT Madras as part of the recently concluded technical festival Shaastra 2014. The workshop was conducted from Jan 4 - Jan 6 by Mr. Anoop John, CTO of Zyxware Technologies.
One of the challenges with working with dynamic websites is that you have to keep fighting malicious users who regularly sap your server capacity with rogue crawling of your site. To do this you would have to monitor and analyze the traffic patterns on the server regularly. You would definitely want to do this when you have load spikes on the server and you wish to find out the IP addresses, user agents and the specific URLs which resulted in these spikes. This is all the more relevant in Drupal sites where a rogue bot can take down the site when proper DDOS mechanisms are not set in place.
In this article I am going to tell you how to redirect anonymous users to a login form on 403 access denied pages in Drupal. There are some contributed module that provides you this feature but, if you really want to create a custom one for your site just try this. Here I will show you a PHP snippet that redirecting to login page for anonymous users on access denied.
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.
If you are in the habit of running queries directly on your production database to generate custom reports then you will run into the requirement of having to connect to your Drupal database on the Acquia cloud hosting. One of our clients wanted to do this and this is how we got this working for them.