Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

7. Creating Our Own Modules

Chapter 7. Creating Our Own Modules

"Packing together all of our efforts."

In the previous chapter, we saw how we could modify our template to enhance its appearance, or to add some useful features. Though that didn't take us too much time, if we want to apply these features to another site we will need to re-do all the work again.

Repeating the process again can be a waste of time and effort. Wouldn't it be better to create a module packing that feature? That way we can use the fruit of our work in a convenient way.

After all, if you remember the first few chapters of our book, it was pretty easy to download and install all those extensions that we now have on our site.

In this chapter, we are going to build a simple module, just a tiny contact form. We will build a basic foundation, and then enhance it with some nice features. Sadly, we can't make a full, thorough guide. We would need almost three entire chapters for that; so we will concentrate on the basic things.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint