If you are a Nginx web server user and using Drupal as your CMS, it is quite different for redirects. Imagine that you have two websites, so if we change from an old site to a new site some of the URL will return 'Page not found'. So for that reason we can redirect them to the correct URL. If you are also looking for a 301 redirect for your Drupal site please read on.
Articles
Commerce Marketplace module can be used when you want to set up a multi-vendor store. This module introduces a new entity type called "store". If you don't have any idea about how to set up your store or add products to your store, then read on. This article is going to save your day.
Lets consider a situation in which you are using addthis widget for sharing a page in your site via email and you want to attach an image with the mails that is been send from your site. In the article you can find out how to add a common image to the all mails send from a site and also how to attach images depending on different users.
Test cases and Test Scenario are the documents used by the testers to ensure that the application meets the customer requirements. These are the most important documents that the testers prepare prior to testing. Even though the core objective of the documents is the same, there is a difference in their representation. Read on to know more.
Suppose your Drupal project has the option to upload Youtube videos which will be displayed in the site. Adminstrator has the option to upload videos in two ways
Admin can add Youtube through direct url uploading.
Admin can add Youtube through adding a video embed code of youtube.
If Config server firewall(CSF) is installed on your server then, you can edit the firewall configurations from the command line using the following commands.
Here is a document which describes how the contents in a View can be displayed in a table format as well as it can be dragged and dropped from one row to an another row without using any additional jQuery functions. We have done this in Drupal 7 and this can be achieved using a module named 'DragabbleViews'. You can download it from this link: http://drupal.org/project/draggableviews. This module requires the 'Views' module to be installed already in your system.
Most of us must be familiar with this message. After making the necessary changes to file and after going through the steps like git add, git commit, I tried git pull from server and got the following error message.
By default in drupal if we click on any taxonomy term, it will execute the taxonomy/term/% menu. We can change this default taxonomy/term/% menu path to a custom menu path. In one of my project I had a requirement to execute a custom function for my vocabulary in stead of executing the taxonomy/term/% menu and I had found a solution for this. The following are the steps to be done.
The Apache Solr module integrates Drupal with the Apache Solr search platform. Solr search can be used as a replacement for core content search and boasts both extra features and better performance. The apachesolr module requires the external PHP library,"SolrPhpClient". If this is missing in your apachesolr module directory, it will show the following fatal error after installing or updating this module.
The following is the shell script that will shutdown all computers in the network. This script will be really help full for system administrators who need not want to check all systems, whether all the systems in the office has been shutdown properly when the employees leave the office. The script will check all the active ips in the network and write the those ips to a file. It also login to each system and execute the shutdown command. The things that are to be done before running the script is to 'Make sure your public-key has been added in the authorized_keys file in .ssh folder of root'. This allows the script to login to each system by the method of public-key authentication rather than prompting for password. And also the 'StrictHostKeyChecking no' will avoid all prompts during ssh.
As you know that it is not easy to check manually the broken links in a website. Suppose if the site contains thousands of web pages and the pages keeps on getting added or deleted at the same time. In this situation it is impossible to manually test the broken links in a site. So in this case you need a tool to do this job. 'Xenu's Link Sleuth' free application helps you to check all links on web pages for errors. The application will shows which links are broken and which are active. So here I am explaining how to test broken links in a website by this application.
Suppose your drupal projects contains products to sell. And you can use coupon code while purchasing products. For using coupon code in your druapl site, Ubercart Coupon code module may be installed. Please check the below cases which contains the test cases of checking coupon code functionality.
Suppose you have to take the print out of a web page while working in a project.Some times the whole content in the page will not be printed as the contents at the end of the margin are cut off or the images are not displayed properly. Alignment issues and padding issues may also appear in print pages.So the user should be careful while taking the print out of a web page.
Getting search fields inside a view is easy that is adding a field in 'Filter :Criteria' and exposing it, so we get the search field and now you can search based on that field.And when we require more than one field to be searched we need to include it by adding the fields in 'Filter Criteria' and exposing it , which looks weird when we have 3 fields in a single search form.So what if we have an option to make it a single field say we have to search the contents based on 3 fields with a single search field.Isn't that interesting?Here comes the use of 'Finder' module which is safe and sound.
Suppose your Drupal project handles products which can be purchased through online and you are using Ubercart 'taxes' module to handle tax rates which are applicable to your product. Also Admin has the permission to add tax rates and conditions. And a registered user can buy the product. Here I am going to explain some of the test cases which you have to execute while testing this functionality.
The cases you have to test are:
Use case lists the steps involved in the interaction between the actor and the system. Here actor refers to the users who are interacting with the system. The main objective of the use case is to co-ordinate the functional requirement, user roles and basic flow of actions into a single document. Like SRS, 'use case' template is prepared at the beginning of the SDLC. The use cases are often prepared by the Business Analysts. The main difference between use case and test case is that, use case focuses on the requirement of the site (business requirement) while test cases include different scenarios (positive and negative) for ensuring the correctness of the application. Use case can be used as a reference for writing test cases, for getting a basic work flow of the site. Since use cases focuses on the customer requirement, the document plays an important role in ensuring the quality of the product. Here is a use case template, you can refer while preparing Use cases for your projects.
In this article I will be explaining a task I did for one of our sites in Drupal6. In this site, for every content type say event the users manually entered year along with the title in title field. So my task was to remove the year from title and save it in a seperate cck field.
This article will be explaining a module we implemented in site Free Drupal Themes, its called Theme Switcher. This module helps in switching between any enabled themes without logging in. In previous article How to enable multiple themes using command promte? I had explained how to enable multiple themes using drush.
We have already seen how to pass banner ad attributes to landing pages and also how to how to pass custom site variables to landing pages in our previous articles. Now, how can we get them included in the form submit of a landing page and get them emailed along with the lead. Here is how we can do it.
Follow these steps in your landing page corresponding to your ad.