Virtual host setup in Ubuntu is very simple, we can do this in few steps. The following commands will help you to download the latest version of all software from its repositories(that is updation) and then install 'apache2', if you have no apache2 software. Otherwise ignore the following commands and go through the main steps for VirtualHost setup.
Articles
In Drupal 7, a theme function is a PHP function that is used to wrap the output variables with HTML. For adding a theme function in our custom Drupal 7 module, we need to implement hook_theme(). A theme function is prefixed with 'theme_'. However, they can't override existing theme functions. Such functions are invoked using theme() rather than being directly called. Also, they are faster compared to the template (.tpl) file implementations.
Developer tool is an add-on of Mozilla which helps to debug the elements in a web page. You can get the tool from Add-ons (go to Add-ons and install web developer Tools (Add-ons > install web developer tools). On complete installing the Add-on, you can see a menu bar with items like disable, cookies, images, miscellaneous etc. You can use these items to measure, re-size, disable images, view source code, responsive view etc.
In one of my Drupal projects, I had a requirement to submit data from a webform to an external application. hook_webform_submission_insert() helps to meet my requirement. In your custom module, call the hook function hook_webform_submission_insert().
The last release of Drupal was about three years back and Drupal lovers - site builders, developers and administrators - are more than excited to get their hands on the hottest addition to the Drupal Web Development family, Drupal 8. With over 1700 contributors working diligently at building the latest version of Drupal, it comes as no surprise that Drupal 8 has exceeded the expectations of its loyal users and arrived with a bang.
The launch of Drupal 8 is bound to create more than a ripple in the pond. This latest version of Drupal, the world’s most popular enterprise web CMS, hosts around 200 new features and some much-needed advancements.
While working on a Drupal 6 project, I came across the requirement to send some mails. Interestingly, I couldn't find any good articles or procedures on the same. So, here, I am going to explain how to send mails in Drupal 6 with attachments. If you need any business support, get in touch immediately.
There will be many situations when you need to handle files from an FTP server in PHP. PHP provides a handful of functions to do the task quite easily, but there are some hidden difficulties too. So here I am going to explain the process of connecting to and FTP server and handling files there.
We can execute system commands using SHELL. shell_exec is a PHP function that returns the output as a string or null if it is a wrong output. Note that, this function is disabled when the PHP is running in a safe mode.
The purpose of implementing hook_theme either in a custom module or theme is to register it's theme implementations which specify how a particular render array is to be rendered as HTML.
What do you usually go to create a virtual host? If I am right, then you will copy the default file, change the contents, add entry in host file and then you will enable the site, right? Well, if you are thorough with the above steps, then I would advise you not to waste your time any more by repeating the steps each time you need to create a virtual host, because I am going to provide you a script using which you can easily create a virtual host.
User Interface testing comes under Non Functional Testing type. In UI testing, our intention is to validate user interface which is designed professionally or not. Here is the basic check list for UI testing :
Whenever you play back the recorded test cases in Selenium, the http secured websites will displayed an authentication popup window and it prompt you to enter the http user name and the password and it will not allow to perform any further operations until you provide username and password. Lets checkout the solution.
As the name suggests, a preprocess function is a precursor to a theme function. It runs first, irrespective of the fact that the theme function can also be implemented as a template (.tpl file) rather than a function. Preprocess functions can be implemented in both modules and themes. However, the preprocess implementations from modules run first, and those by themes run only last.
In one of my project, I want to display a hierarchical structure of an array by using D3 JS, which should be collapsible. Lets checkout how we can implement, D3 JS in Drupal 7 with collapsible concept. Do you want the implementation like this, get a quote and make use of our expertise.
Drupal has grown to be recognized as the most powerful and practical modular framework used by numerous website developers and business owners. The CMS community has adapted to the versatile and extremely functional structure of Drupal very quickly and Drupal modules have risen high on the must-have charts of web developers.
Firebug, an extension of Mozilla browser is a very helpful tool to find the spacing between elements, padding, border and margin, font, font size and color of the text and many other things in a webpage. This article talks about the basic things we can perform using firebug in a tester's point of view.
The drupal_write_record function is used to insert or update a record in the database based on the schema of the table. It helps in executing less database query. Let's take a look at the function given below.
ETL or Data warehouse testing is quite different with regular testing. There are lot of challenges are facing while performing ETL or Data warehouse testing. Do you need a testing expert or want help in your business, just click here to hear from us.
The main dispassionate of usability testing is to ensure that the App having the features of intuitive, industry accepted interface and easy to use. Following are the some usability test cases.