rsync command is used to synchronize files and folder from source to destination. It may be same or different server. If the synchronization is in between different servers we have to use ssh credentials for connecting the two.
Rules are very important and most common using thing in Drupal. We can create custom rules programmatically using the hook_rules_action_info. There is a useful hook hook_rules_action_info() provided by rules api to create custom rules programmatically. Using this We can use our custom functions to perform the actions that we require.
This article explains a relatively new feature in php; The Built-in web server. Other languages like python and ruby already had their own simple HTTP servers where you can convert you local folders/directories into a simple HTTP server (for python: python -m SimpleHTTPServer) which serves scripts and HTML files and basically does almost everything apache does. Almost!
To use this functionality in PHP, you need to have a version 5.4 or above. Using terminal, navigate to the root of the folder where the index.php or index.html and run the following command.
Before reading this, please familiarize yourself in setting up a php built-in web server. Phpmyadmin is usually installed along with apache web server. Depending on the version of apache you may have some complications along the way. Fear not, for php has introduced something known as a built-in webserver! With this, you can convert any local folder into a server and host a site locally there. This article will show you how to run phpmyadmin without using apache.
The drupal_static() function provides a temporary storage for data that should stick around even after execution. It also provides the central static variable storage. It preserves the data within a page request as well.
Stay secure with our step-by-step guide to installing Drupal security updates. Protect your website against vulnerabilities and potential threats. Learn how now.
Some times we need static pages on sites. In CodeIgniter, to show a static page in a site, you have to create a Controller for handling the page display. A Controller is a class which has methods to handle the HTTP request, that is Models and Views in a site.
We can create directives in AngularJS to bring our own HTML tags or attributes, or even special CSS classes or comments. It is most used for building HTML elements and attributes and rarely used for classes and comments. Using directives we can simplify application's HTML markup and have more organized code.
Let's check how to add password protection to directories, there are many ways to add password protection to a directory. Here lets see how doing this with .htaccess. It is the built-in feature in Apache using htaccess method. By doing this we could restrict access to certain users or search engines.
Bulk uploading is used to upload large amount of data within a short period of time. This article includes the test cases for bulk uploading. The test cases are based upon the below requirement: Option to bulk upload multiple number of groups. The file should be of the format .csv
Skype is a software for instant voice and textual messaging. It is also useful for video calling, ordinary voice conference, screen sharing conference, group conference etc. It can be used for office and personal purpose, interviews etc.
In one of my Drupal project, we had a requirement to set a 2 level arrangement for users group. That means, we want to add more than one group for a user, in one of our Drupal site. Our experts find a solution for this by implementing Organic Group with user's account by some custom codes. Do you have a requirement like this? Connect with us.
V - Model of testing means Verification and Validation Model. Like the Waterfall Model, the V-Shaped life cycle is a sequential path of execution of processes. Each phase should be completed before the next phase begins. Testing of the product is done in parallel with a corresponding phase of development and this type of model finds its use in projects with no rapid requirement change.
CodeIgniter is an open source PHP frame work with simple MVC pattern. CodeIgniter is lightweight, generates clean URLs and uses very simple template parser. CodeIgniter didn't require a specific template engine for website layout. Latest version of CodeIgniter is Version 3.0.0. It is a loosely coupled, faster, flexible and high performance system. It supported the database such as MySQL (5.1+), Oracle, MS SQL, PostgreSQL, SQLite, etc.
JQuery and AJAX are very useful for loading data into the page without refreshing the web page. AJAX tabs can load content from remote files or URLs. In this example, the content of each Tab will be loaded dynamically with Ajax.
JQuery slider allows you to select a value from a numerical range by simply dragging the slider. The following notation notes will help you to configure slider settings in your JavaScript file.
Entity in Drupal 7 makes web development much easier, like building structures using LEGO. We can build Entity types, that can be made Bundles. Here we can add fields and then create Entities. This article explains how to add fields.
I had a requirement to create webform in multiple environments. Webforms cannot be exported as features. Webform_share module helps to export the webform and then imported the same in my different work environment. The Webform_share module requires webform module. For installation, download and enable the webform_share module.
In one of my project, I have a requirement to show the form elements as a popup window on clicking a menu link. I have created the form using the Drupal webforms. I want to make this webform available as a popup window on click of the corresponding link. Drupal popup module helps to meet this requirement.