General

Zyxware default image2
| 2 min read
We as a PHP Drupal web platform developer most often has to face the situation to export data from one table to another table of same database or to table of another database (if site uses multiple databases) during the process of any change in normal work flow. Most of us normally think to export the data from one table to another by firstly querying the required data from source table and then looping through the query result and inserting them to destination table. This can be simply achieved with a single query.
Zyxware default image3
| 3 min read
Panels in drupal is a very usefull feature for displaying the contents in a well organized manner. The site administrator will have full control over the panels.Creating panels via User interface is not a complex task. But there may arise situation when you need to create this via code. This article explains how to achieve this via code. Creating a custom content pane using the ctools content type. Step 1) In the custom module implement the hook_ctools_plugin_directory , to know where the ctools plugin is actually stored
Zyxware default image2
| 3 min read
Drupal module uses a lot of functionality. Once we enable a module we add many functionalities to Drupal. Sometimes we do not want to display the functionality provided by module but we do want the functionality to work in the background. For example creating a new account is functionality that can be hidden from users. This can be done by hiding some tabs or links in Drupal. Read on to know how to hide existing menu tabs in Drupal.
Zyxware default image2
| 3 min read
This article lists some of the basic MySQL commands how to create a new database, a new database user and granting privileges to a user. How to create a new database from terminal. The first step here is to log in as the MySQL root from terminal using the following command. mysql -u root -p Now this will prompt for the MySQL root password. Enter password : After entering the MySQL root password we will be able to log in to the MySQL prompt. The next step is to create the new database.
Software Development Outsourcing
| 2 min read
Statement coverage is a white box testing technique, which involves the execution of all the statements at least once in the source code. It is a metric, which is used to calculate and measure the number of statements in the source code which have been executed.
Zyxware default image2
| 3 min read
Sandwich testing is a type of testing that consist of two parts,they are Top-down approach and Bottom-up approach.It combines the advantages of both Bottom-up testing and Top-down testing at a time.Bottom-up testing starts from middle layer and goes upward to the top layer where as Top-down testing starts from middle layer and goes downward. Big-bang approach is followed for the middle layer. From this layer bottom-up approach goes upwards and top-down approach goes downwards.
Zyxware default image3
| 4 min read
While working on a Drupal project my task was to enable the Drupal feedback module and when a feedback is added by a user, send a mail to corresponding email id. However in the feedback module there in no option to send mail by default. In this article I will be explaining how to send a notification mail to the corresponding email id when a user adds a feedback.
Zyxware default image3
| 3 min read
Apt-cacher-ng can be defined as an apt proxy which caches the packages which you download locally on your computer. Consider you are using a network of computers and you have to install a package on each system then it will be great to configure an apt-cacher-ng on any system in your network so that it will cache the packages once they have been downloaded. Read on to know how to configure Apt-cacher-ng server in Ubuntu
Zyxware default image2
Pivot Table / Data Pilot is a powerful feature in spreadsheet applications that allows you to prepare reports from lists of data very easily. This will allow you to speed up preparation of reports that you have to generate as part of project management. Although the example I have created and the instructions I have listed out is specific to the timesheets from Redmine the concept can be applied for any lists of data. Once you get the hang of it you wouldn't want to prepare reports any other way. If there are questions please ask somebody around you who knows this well. We have at least one person each in each of our offices who knows this well.
Zyxware default image3
| 7 min read
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.
Zyxware default image4
| 3 min read
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.