Articles

Zyxware default image2
| 1 min read
I assume most of us are familiar with creating tar, tar.gz and tar.bz2 files. But do you know how to learn what is inside that tar file without extracting it? If your answer is "No" then you have come to the right place. The following commands can be used to list the contents of a tar, tar.gz, tar.bz2 files. These commands becomes handy when you have multiple tar files and if you are searching for a particular file or folder. To list the contents of a tar file : tar -tvf filename.tar To list the contents of a tar.gz file :
Zyxware default image3
| 2 min read
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.
Zyxware default image3
| 4 min read
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
Zyxware default image4
| 5 min read
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
Zyxware default image3
| 4 min read
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
Zyxware default image2
| 5 min read
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'. Drupal Performance Test - GZipped Content Delivery In order to check the gzipped content delivery,
Zyxware default image2
| 3 min read
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.
Zyxware default image4
| 3 min read
Zyxware Technologies in association with Santhigiri Ashram is conducting a 5 days System Admin Training from March 1 to 5, 2014 at Training Centre, Santhigiri Ashram, Pothancode, Thiruvananthapuram. The course is for professional system administrators who have limited or no experience in GNU/Linux or Unix environment. Course Details Objective: This course will provide an hands on introduction to a set of server side applications. By completing the course the participants will be expected to setup a basic:
Zyxware default image1
| 3 min read
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.
Zyxware default image2
| 3 min read
Lines of code is typically indicative of effort that goes towards software development. So how do you count lines of code in your PHP application (or for that matter any specific types of files in any application). You can't manually open and count files, that would be a big waste of time. The *nix shell has a powerful set of tools that can help you count lines without having to do it manually. find . -name "*.php" | xargs wc -l | awk '{print $1}' | awk '{total = total + $1}END{print total}'
Zyxware default image2
| 3 min read
If you frequently have to set up git version control system for existing projects then you would very likely run into the problem of having to remove files, which should not have been in git, from git after they were added. Running a git rm will only delete the file from the head and the file would still remain in the repository. This may be alright for small files but this could be troublesome for large files as these would unnecessarily bloat the git repository. But don't worry git being a 'swiss army knife' of version control systems there is a solution to delete files permanently from both your local and remote git repositories.
Zyxware default image3
| 1 min read
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. In Drupal 6 The following drush command will take your Drupal site offline drush vset site_offline 1 The following drush command will take your Drupal site back online drush vdel site_offline In Drupal 7
Zyxware default image2
| 2 min read
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. Our Sasthamangalam office address is SMRA 78, SRKM Hospital Road, Sasthamangalam P. O., Trivandrum, Kerala - 695010
Subscribe to Subscribe to