With Drupal, a flexible and powerful content management system, you can empower a community of users to publish and manage a vast variety of content. Among many other features, Drupal supports easy-to-use forms that users can fill out and send to an email address of your choosing. A default Drupal installation does not contain the Webform module, so let's see how to add and configure it.
Testing and data validation are important parts of any software development projects. In this tutorial we'll see how to validate information entered into a Drupal form and learn how to test modules as a whole.
Drupal is one of the most popular open source content management systems today. Unfortunately the default Drupal installation often requires a lot of customization to meet an organization's needs, so you have to rely on Drupal's thousands of extensions to tailor the software to do exactly what you want, and that takes time. It would be easier if you could install Drupal with all the extensions that you want to use straight out of the box – and you can do just that by using Drupal distributions.
In this third article in her series on coding custom Drupal modules, Juliet Kemp shows us how to set up a configuration form and hook it to a Drupal menu, including code examples and dos and don'ts.
In our previous tutorial, we got started setting up a custom module for Drupal 7. Modules make Drupal immensely powerful and flexible, and it's well worth learning how to make your own if only to get a better understanding of how the various contributed modules available to everyone work. In this second part, we'll learn to use the Drupal Database API to get data out of a site, and to write a hook to show a block on the site.
The open source content management platform Drupal is powerful enough off the shelf, but the ease with which you can add extra modules and the flexibility that capability offers make it even more powerful.
Drupal, the popular CMS platform, doesn't just allow you to create and manage content. You can also set up reporting options to find out more about how your site is being used and visited. Data on user access, content creation, user interaction, and other metrics can help you to modify your site to provide a better experience for users. Reports also support you in assessing how well you're meeting your goals for the site. Let's set up some basic reporting in Drupal 7, and see how to use the View and Google Analytics modules to get more report data.
It's easy to get started with the search server Apache Solr and the popular CMS platform Drupal, as described in our previous tutorial on setting up Solr 4.2 with Drupal 7. Straight out of the box Solr handles basic text searching, but you can increase its power by adding faceted search – the ability to filter on specific facets or aspects of the data on a site. For example, on a Drupal site you might want to be able to filter your searching by author, date, or tags. Solr's faceted search allows users to combine this type of filtering with text searching to find the information they're after faster. Read on for the lowdown on setting up and configuring basic faceted search using Solr 4.2 and Drupal 7, running on Apache on Linux.
Solr is an open source search server based on Apache Lucene. Lucene provides Java-based indexing and a search library, and Solr extends it to provide a variety of APIs and search functionality, including faceted search and hit highlighting, and handles Word and PDF document searching. It also provides caching and replication, making it scalable, robust, and very fast.
For years, MySQL has been the king of open source database servers. It powers a large part of the web and numerous applications worldwide. However, concerns about the future of MySQL since its acquisition by Oracle, combined with an increasing demand for performance and scalability, have driven people to consider alternative options, such as PostgreSQL and MongoDB. Switching to either of those alternatives, however, is not a simple proposition. MariaDB, by contrast, offers enhanced performance in a DBMS that can be a drop-in replacement for MySQL.